News for hackers. Stuff that matters.

ichub

Honestly, I'm not sure. If it was really an issue, it'd be trivial to change the script to render things as nested divs and spans. The appeal of custom elements, at least to me, is that it makes everything more concise and readable. I prefer reading <type>whatever</type> to <div class="type">whatever</div>.
Didn't know about Eager, thanks for letting me know about it!
If you're wondering about how you would go about using this in your own website, check out the documentation in the github repo here: https://github.com/ichub/tply

If you're wondering how these actually work, browsers just interpret the custom elements as unstyled inline elements, basically as `span`s, which I am free to do with as I wish.

Looks like Safari doesn't support `let` syntax yet. I fixed it, should work now. Thanks for letting me know (:
Yes, you can delete previously typed sentences, see example #3 on the site: use a <delete> element.

If you want a caret, there's two options: * put your tply source into a span, then after the span create and style your own caret. * contribute to the repo and add an easier way to have a caret (:

Re:Point and Spring Simulation on Sunday July 05, 2015 @03:36PM (#9834658)
Thanks for the suggestion, I implemented it: https://github.com/ichub/physics/commit/5b875ea2d5e3dfa3f5a0...
I finished something like this too, after working on it for about a year: http://papertogether.com/ Of course it's not as fully featured, but it was a fun experience. I'm surprised to see that so many others had this idea and implemented it too - I thought I was the only one interested in collaborative drawing.