diff --git a/examples/kanban.md b/examples/kanban.md index d67f5af..7a12fb4 100644 --- a/examples/kanban.md +++ b/examples/kanban.md @@ -275,9 +275,9 @@ The runtime does not know "presence". It executes ops. Initial SSR: ```html -
+
... -
+
Fix login bug
... @@ -291,11 +291,11 @@ BASE64URL_POSTCARD_INITIAL_ATOMS Runtime attachment: ```js -document.addEventListener("submit", dispatch) -document.addEventListener("click", dispatch) -document.addEventListener("pointerdown", dispatch) -document.addEventListener("pointermove", dispatch) -document.addEventListener("pointerup", dispatch) +root.addEventListener("submit", dispatch) +root.addEventListener("click", dispatch) +root.addEventListener("pointerdown", dispatch) +root.addEventListener("pointermove", dispatch) +root.addEventListener("pointerup", dispatch) ``` No framework download. No VDOM. No hydration. No game loop.