summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2018-10-10 18:53:26 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2018-10-10 18:53:28 -0700
commit908c2cb542cac4428d063c4ab76031da94c2e10b (patch)
tree29ae14751b852cb7bb7a063f584608d459277a41
parent1cb5f94b757a8c79cd1e9f0b3f0b00ffabe5597d (diff)
Return id instead of node
We can't query the node before its in the DOM so returning the id makes more sense.
-rw-r--r--demos/11-pure-js-app.example.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/11-pure-js-app.example.html b/demos/11-pure-js-app.example.html
index c7cbf24..056f1b5 100644
--- a/demos/11-pure-js-app.example.html
+++ b/demos/11-pure-js-app.example.html
@@ -54,7 +54,7 @@
</div>
</aside>
`,
- node: document.getElementById(id)
+ id
}
}
window.onload = function () {