From add85ea2fe6406df12a0432cc01436d87578074d Mon Sep 17 00:00:00 2001 From: Cole Dean Shepherd Date: Sun, 15 Oct 2017 22:10:53 -0500 Subject: [PATCH 1/2] Fixed missing closing parenthesis in inline example. Also slightly improved indentation. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c393599..cd8fc4e 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,9 @@ int main() { // Patch into empty DOM element – this modifies the DOM as a side effect patch( emscripten::val::global("document").call( - "getElementById", - std::string("root"), + "getElementById", + std::string("root") + ), vnode ); From 2c7962c643513cfea389e0a76257ca813ee3b492 Mon Sep 17 00:00:00 2001 From: Cole Dean Shepherd Date: Sun, 15 Oct 2017 22:48:18 -0500 Subject: [PATCH 2/2] Added a missing parenthesis in C++ README. --- docs/cpp.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/cpp.md b/docs/cpp.md index 4cd9b0e..7de094f 100644 --- a/docs/cpp.md +++ b/docs/cpp.md @@ -59,8 +59,9 @@ int main() { // Patch into empty DOM element – this modifies the DOM as a side effect patch( emscripten::val::global("document").call( - "getElementById", - std::string("root"), + "getElementById", + std::string("root") + ), vnode );