Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasso committed Oct 16, 2017
2 parents d4878b3 + d55ad25 commit 1921b96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<emscripten::val>(
"getElementById",
std::string("root"),
"getElementById",
std::string("root")
),
vnode
);

Expand Down
5 changes: 3 additions & 2 deletions docs/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<emscripten::val>(
"getElementById",
std::string("root"),
"getElementById",
std::string("root")
),
vnode
);

Expand Down

0 comments on commit 1921b96

Please sign in to comment.