mirror of https://github.com/sveltejs/svelte
Merge pull request #320 from sveltejs/gh-13
add development warnings for missing data propertiespull/322/head
commit
a8d19839cd
@ -0,0 +1,7 @@
|
||||
export default {
|
||||
dev: true,
|
||||
|
||||
error ( assert, err ) {
|
||||
assert.equal( err.message, `Component was created without expected data property 'foo'` );
|
||||
}
|
||||
};
|
@ -0,0 +1 @@
|
||||
<p>{{foo}}</p>
|
Loading…
Reference in new issue