mirror of https://github.com/sveltejs/svelte
note action/etc. references even when hoistable (#2294)
parent
d1536b21a2
commit
b33fd1797a
@ -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