mirror of https://github.com/sveltejs/svelte
Merge pull request #1295 from sveltejs/each-block-keyed-empty
handle empty each blockspull/1296/head
commit
47da7d1ed6
@ -0,0 +1,7 @@
|
||||
export default {
|
||||
data: {
|
||||
x: [{ z: 1 }, { z: 2 }],
|
||||
},
|
||||
|
||||
html: ``
|
||||
};
|
@ -0,0 +1 @@
|
||||
{{#each x as y @z}}{{/each}}
|
Loading…
Reference in new issue