Skip to content

Commit df55fdc

Browse files
authored
Support svelte 3.41.0 (#77)
1 parent 16b4be9 commit df55fdc

7 files changed

+3999
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<script>
2+
let expression = new Promise()
3+
</script>
4+
5+
{#await expression catch}
6+
<p>oh no! Something broke!</p>
7+
{/await}
8+
9+
{#await expression then}
10+
<p>the promise is resolved</p>
11+
{:catch theError}
12+
<p>oh no! {theError.message}</p>
13+
{/await}
14+
15+
{#await expression then}
16+
<p>the promise is resolved</p>
17+
{/await}

0 commit comments

Comments
 (0)