failing tests for #312

This commit is contained in:
Rich Harris
2018-07-23 14:31:11 -04:00
parent 39eb3be01e
commit f8c731ca21
4 changed files with 6 additions and 38 deletions

View File

@@ -1,20 +0,0 @@
<span>x: {segment} {count}</span>
<svelte:component this={child.component} {...child.props}/>
<script>
import counts from './_counts.js';
export default {
preload() {
return {
count: counts.x += 1
};
},
oncreate() {
this.set({
segment: this.get().params.x
});
}
};
</script>