e534a911f3
Prettier v2 has the following breaking changes: * enforces spaces between `function` and params * enforces trailing commas by default
20 lines
506 B
JavaScript
20 lines
506 B
JavaScript
module.exports = {
|
|
context: {
|
|
peeps: [
|
|
{ name: 'Moe', count: 15 },
|
|
{ name: 'Larry', count: 5 },
|
|
{ name: 'Curly', count: 1 },
|
|
],
|
|
},
|
|
partials: {
|
|
mustache: { variables: 'Hello {{name}}! You have {{count}} new messages.' },
|
|
handlebars: {
|
|
variables: 'Hello {{name}}! You have {{count}} new messages.',
|
|
},
|
|
},
|
|
|
|
handlebars: '{{#each peeps}}{{>variables}}{{/each}}',
|
|
dust: '{#peeps}{>variables/}{/peeps}',
|
|
mustache: '{{#peeps}}{{>variables}}{{/peeps}}',
|
|
};
|