5 ms·
What is the difference between Emblem and Jade? http://jade-lang.com/ http://jade-lang.com/
by combataircraft 14y ago
What is the difference between Emblem and Jade?
http://jade-lang.com/ http://jade-lang.com/
- jacquesc 14y agoSimilar syntax. Emblem.js compiles to Handlebars to make it ideal to use for client side templating and Ember.js
- deleted 14y ago[deleted]
- machty 14y agoafaik 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.
- nadaviv 14y agoIt can. See the example at https://github.com/visionmedia/jade#a4 https://github.com/visionmedia/jade#a4