Skip to content

Commit

Permalink
Make sure scripts are passing good data so it's only the parse that c…
Browse files Browse the repository at this point in the history
…an go wrong
  • Loading branch information
Crisfole committed Feb 7, 2018
1 parent c62f77a commit b55ccc6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{{#each foos as foo @id}}
{{/each}}

<script>
export default {
data: () => ({ foos: [] })
}
export default {
data: () => ({
foos: [
{ "id": 5 }
]
})
};
</script>
9 changes: 9 additions & 0 deletions test/parser/samples/error-each-blocks-whitespace/input.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
{{#each foos as foo}}
{{/each}}
<script>
export default {
data: () => ({
foos: [
"id": 5
]
})
};
</script>

0 comments on commit b55ccc6

Please sign in to comment.