e534a911f3
Prettier v2 has the following breaking changes: * enforces spaces between `function` and params * enforces trailing commas by default
15 lines
390 B
JavaScript
15 lines
390 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}}',
|
|
};
|