Skip to content

Commit

Permalink
failing test for #222 part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Feb 28, 2017
1 parent 457c126 commit 4e2f03c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/generator/deconflict-contexts/_config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default {
html: `
<ul><li>foo</li><li>bar</li><li>baz</li></ul>
`,

data: {
components: [ 'foo', 'bar', 'baz' ]
}
};
5 changes: 5 additions & 0 deletions test/generator/deconflict-contexts/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<ul>
{{#each components as component}}
<li>{{component}}</li>
{{/each}}
</ul>

0 comments on commit 4e2f03c

Please sign in to comment.