File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ A `.svelte` file would look something like this:
33
33
}
34
34
</script>
35
35
36
- <button on:click=" {handleClick}" >Count: {count}</button>
36
+ <button on:click={handleClick}>Count: {count}</button>
37
37
38
38
<p>{count} * 2 = {doubled}</p>
39
39
<p>{doubled} * 2 = {quadrupled}</p>
Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ The VS Code extension comes with its own syntax highlighting grammar which defin
54
54
"textMateRules" : [
55
55
{
56
56
"settings" : {
57
- "foreground" : " #569CD6" , // any color you like
57
+ "foreground" : " #569CD6" // any color you like
58
58
},
59
59
"scope" : " support.class.component.svelte" // scope name you want to adjust highlighting for
60
60
}
61
- ],
62
- },
61
+ ]
62
+ }
63
63
}
64
64
}
65
65
```
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ This is also the reason why preprocessors such as `svelte-preprocess` cannot do
34
34
<script lang="ts">
35
35
let a: number = 1;
36
36
</script>
37
+
37
38
{a}
38
39
```
39
40
You can’t perform that action at this time.
0 commit comments