mirror of https://github.com/sveltejs/svelte
change :elseif to :else if - fixes #2137
parent
c672ad8df7
commit
6c85f6a6b5
@ -1,5 +1,5 @@
|
|||||||
{#if x > 10}
|
{#if x > 10}
|
||||||
<p>x is greater than 10</p>
|
<p>x is greater than 10</p>
|
||||||
{:elseif x < 5}
|
{:else if x < 5}
|
||||||
<p>x is less than 5</p>
|
<p>x is less than 5</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{#if x > 10}
|
{#if x > 10}
|
||||||
<p>x is greater than 10</p>
|
<p>x is greater than 10</p>
|
||||||
{:elseif x < 5}
|
{:else if x < 5}
|
||||||
<p>x is less than 5</p>
|
<p>x is less than 5</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -1 +1 @@
|
|||||||
before-{#if x > 10}if{:elseif x < 5}elseif{:else}else{/if}-after
|
before-{#if x > 10}if{:else if x < 5}elseif{:else}else{/if}-after
|
||||||
|
Loading…
Reference in new issue