mirror of https://github.com/sveltejs/svelte
fix check for uninitialized `condition` (#4841)
parent
c9020d35b7
commit
81ade59797
@ -0,0 +1 @@
|
|||||||
|
rrr
|
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: 'eee'
|
||||||
|
};
|
@ -0,0 +1,13 @@
|
|||||||
|
<script>
|
||||||
|
import RRR from './RRR.svelte';
|
||||||
|
|
||||||
|
export let x;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#if "Eva".startsWith('E')}
|
||||||
|
eee
|
||||||
|
{:else if x}
|
||||||
|
def
|
||||||
|
{:else}
|
||||||
|
<RRR/>
|
||||||
|
{/if}
|
Loading…
Reference in new issue