mirror of https://github.com/sveltejs/svelte
parent
53b5f1aac6
commit
e0288d5302
@ -0,0 +1 @@
|
|||||||
|
<p>OK</p>
|
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: '<p>OK</p>',
|
||||||
|
};
|
@ -0,0 +1,11 @@
|
|||||||
|
<script>
|
||||||
|
import {writable} from 'svelte/store';
|
||||||
|
import Widget from './Widget.svelte';
|
||||||
|
let a = (writable({}));
|
||||||
|
let b = () => true;
|
||||||
|
</script>
|
||||||
|
{#if $a || b() }
|
||||||
|
<Widget></Widget>
|
||||||
|
{:else}
|
||||||
|
<pre>fail</pre>
|
||||||
|
{/if}
|
Loading…
Reference in new issue