From 29f71aee393e681a2f2c9a7362da2be9fd9cb476 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Mon, 3 Feb 2025 22:58:36 +0100 Subject: [PATCH] readme changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 91069c1..5916984 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ using namespace Crafter::Web; int main() { const char id[] = "body"; const char content = "

Hello from C++!

"; - Crafter::Web::Bindings::SetInnerHTML(id, sizeof(id)-1, content.c_str(), content.size()-1); + Crafter::CppDOM::Bindings::SetInnerHTML(id, sizeof(id)-1, content.c_str(), content.size()-1); } ``` Save and close, then run ``crafter-webbuild serve -c debug``. Now you can open the browser at ``http://localhost:8080/`` and ``Hello from C++!`` will appear in the browser.