adjust test

pull/4713/head
Conduitry 6 years ago
parent 5b7cd3e98c
commit f7b6320310

@ -1,5 +1,3 @@
export default {
html: `
Im a prop
`,
html: `<p>prop value</p>`
};

@ -1,3 +1,3 @@
export const obj = {
prop: 'Im a prop'
prop: 'prop value'
};

@ -1,8 +1,8 @@
<script>
import { obj } from './data.js'
import { obj } from './data.js';
$: prop = obj.prop
obj.foo = 'uncomment this line to break the example'
$: prop = obj.prop;
obj.foo = 'a different prop';
</script>
{prop}
<p>{prop}</p>

Loading…
Cancel
Save