Re:Emblem.js: concise, indented alternative templating langu...
by machty on Tuesday February 19, 2013 @03:13PM
(#5246764)
afaik Jade can't be precompiled; all the parsing needs to happen in the Browser, whereas Handlebars (and therefore Emblem) can be precompiled so that browser processing is minimal. Also, for frameworks that heavily extend Handlebars, such as Ember.js, you'd miss out on a lot of features such as auto-updating templates if you didn't choose a language that compiled to Handlebars, i.e. Handlebars or Emblem.
Re:Emblem.js: concise, indented alternative templating langu...
by nadaviv on Tuesday February 19, 2013 @07:55PM
(#5248262)
It can. See the example at https://github.com/visionmedia/jade#a4
http://jade-lang.com/