Add subexpression benchmark

This commit is contained in:
kpdecker
2014-01-01 18:15:39 -06:00
parent e7e94dc697
commit 4713abc8f1
+14
View File
@@ -0,0 +1,14 @@
module.exports = {
helpers: {
echo: function(value) {
return 'foo ' + value;
},
header: function() {
return "Colors";
}
},
handlebars: "{{echo (header)}}",
eco: "<%= @echo(@header()) %>"
};
module.exports.context = module.exports.helpers;