396
Major differences I've seen are:
- Handlebars adds
#if,#unless,#with, and#each - Handlebars adds helpers
- Handlebars templates are compiled (Mustache can be too)
- Handlebars supports paths
- Allows use of
{{this}}in blocks (which outputs the current item's string value) Handlebars.SafeString()(and maybe some other methods)- Handlebars is 2 to 7 times faster
- Mustache supports inverted sections (i.e.
if !x ...)
(Please correct me if I'm wrong with the above.)
Are there any other major differences I am missing?