laverdet/js-xml-literal
View on GitHub ↗ ★ 60 JavaScript
Implements XML literals in Javascript via desugaring, as a sane alternative to E4X. Server-side and client-side environments are supported which gives you the power to quickly and safely generate markup.
3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2012-05-09 · latest 2014-09-04
20082026
-
…[2]: http://codebeforethehorse.tumblr.com/post/52824249342/buildi... [3]: https://github.com/laverdet/js-xml-literal [4]: https://github.com/laverdet/js-xml-literal/wiki/Differences-...
comment by jonchang · 2014-09-04 · in JSX: XML-like syntax extension to ECMAScript – Draft specification -
You can have HTML linebreaks in JavaScript and HTML literals! https://github.com/laverdet/js-xml-literal :)
comment by dreamdu5t · 2012-09-14 · in Stop sending template engines to the browser. How to make 6-10x faster templates