diff options
Diffstat (limited to 'bench/templates/depth-1.js')
-rw-r--r-- | bench/templates/depth-1.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/templates/depth-1.js b/bench/templates/depth-1.js index 74809bc..0f2576f 100644 --- a/bench/templates/depth-1.js +++ b/bench/templates/depth-1.js @@ -1,6 +1,6 @@ module.exports = { - context: { names: [{name: "Moe"}, {name: "Larry"}, {name: "Curly"}, {name: "Shemp"}], foo: 'bar' }, - handlebars: "{{#each names}}{{../foo}}{{/each}}", - mustache: "{{#names}}{{foo}}{{/names}}", - eco: "<% for item in @names: %><%= @foo %><% end %>" + context: { names: [{name: 'Moe'}, {name: 'Larry'}, {name: 'Curly'}, {name: 'Shemp'}], foo: 'bar' }, + handlebars: '{{#each names}}{{../foo}}{{/each}}', + mustache: '{{#names}}{{foo}}{{/names}}', + eco: '<% for item in @names: %><%= @foo %><% end %>' }; |