Assuming these declarations:
var template = '{{#foo}}{{bar}}{{/foo}}';
var view = {
"foo": {
"lol": "wut"
},
"bar": "Hello World!",
};
I would expect the same output from Handlebars and Mustache. But they are different:
>>> Handlebars.compile(template)(view);
""
>>> Mustache.to_html(template, view);
"Hello World!"
Assuming these declarations:
I would expect the same output from Handlebars and Mustache. But they are different: