mirror of https://github.com/sveltejs/svelte
Merge pull request #2312 from sveltejs/gh-2294
note action/etc. references even when hoistablepull/2319/head
commit
f6f06b3cf5
@ -1,5 +1,7 @@
|
||||
<script>
|
||||
import hoistable_foo from '';
|
||||
let foo;
|
||||
</script>
|
||||
|
||||
<div use:hoistable_foo/>
|
||||
<div use:foo/>
|
||||
|
@ -1,7 +1,11 @@
|
||||
<script>
|
||||
import hoistable_foo from '';
|
||||
let foo;
|
||||
</script>
|
||||
|
||||
{#each [] as x (x)}
|
||||
<div animate:hoistable_foo/>
|
||||
{/each}
|
||||
{#each [] as x (x)}
|
||||
<div animate:foo/>
|
||||
{/each}
|
||||
|
@ -1,9 +1,13 @@
|
||||
<script>
|
||||
import { hoistable_foo, hoistable_bar, hoistable_baz } from '';
|
||||
let foo;
|
||||
let bar;
|
||||
let baz;
|
||||
</script>
|
||||
|
||||
<div in:hoistable_foo/>
|
||||
<div out:hoistable_bar/>
|
||||
<div transition:hoistable_baz/>
|
||||
<div in:foo/>
|
||||
<div out:bar/>
|
||||
<div transition:baz/>
|
||||
|
Loading…
Reference in new issue