diff --git a/demo/performance/common.js b/demo/performance/common.js index 0a454fd..bf39a62 100644 --- a/demo/performance/common.js +++ b/demo/performance/common.js @@ -58,6 +58,7 @@ export default class CommonTest { title: 'test', content1: 'AAA', content2: 'BBB', + items: [{ text: 'one' }, { text: 'two' }, { text: 'three' }], }, { attr: '456', @@ -76,6 +77,7 @@ export default class CommonTest { title: 'test', content1: 'ZZZ', content2: 'BBB', + items: [{ text: 'one' }, { text: 'two' }, { text: 'three' }, { text: 'four' }, { text: 'five' }, { text: 'six' }], }, ]; @@ -235,7 +237,7 @@ export class HtmlLiteralInterface { // We can get around the optimization by using eval though! static getResultEval(html, properties) { // eslint-disable-next-line no-unused-vars - const { attr, one, two, three, four, five, six, seven, eight, nine, ten, id, hidden, title, content1, content2 } = properties; + const { attr, one, two, three, four, five, six, seven, eight, nine, ten, id, hidden, title, content1, content2, items } = properties; // eslint-disable-next-line no-eval return eval(`html\`