Cornerstone Blog

LightningDOM Playground

September 11, 2008 · 4 Comments

I just broke two cardinal rules. From the literary world:

Show, don’t tell.

And from the culinary world:

Don’t experiment on guests.

Thank you, Jimmy Vu, for being “experimented on” and graciously letting me know that the code I posted yesterday doesn’t work. It turns out the code was correct — except it used a feature I hadn’t written, namely a setter for innerText(). This morning, I added the missing setter and published the new version, LightningDOM 1.3.1.

I also reworked Jimmy’s example into an interactive demonstration, the LightningDOM Playground. It preloads a working example and from there you can add all the DOM manipulations you want and try it out interactively. Enjoy!

Categories: HTML · Javascript
Tagged: , , ,

4 responses so far ↓

Leave a Comment