0896d00c2e
The `eco`-templates (Embedded CoffeeScript templates) had their last update over 10 years ago, so we can remove this dependency from our benchmark.
15 lines
387 B
JavaScript
15 lines
387 B
JavaScript
module.exports = {
|
|
context: {
|
|
names: [
|
|
{ bat: 'foo', name: ['Moe'] },
|
|
{ bat: 'foo', name: ['Larry'] },
|
|
{ bat: 'foo', name: ['Curly'] },
|
|
{ bat: 'foo', name: ['Shemp'] }
|
|
],
|
|
foo: 'bar'
|
|
},
|
|
handlebars:
|
|
'{{#each names}}{{#each name}}{{../bat}}{{../../foo}}{{/each}}{{/each}}',
|
|
mustache: '{{#names}}{{#name}}{{bat}}{{foo}}{{/name}}{{/names}}'
|
|
};
|