Skip to content

Commit dd92dc3

Browse files
authored
chore: remove self-closing tags (#617)
* remove self-closing tags in src * self-closing tags
1 parent f56c35a commit dd92dc3

File tree

60 files changed

+95
-95
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+95
-95
lines changed

content/tutorial/01-svelte/07-lifecycle/01-onmount/app-a/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<canvas
66
width={32}
77
height={32}
8-
/>
8+
></canvas>
99

1010
<style>
1111
canvas {

content/tutorial/01-svelte/07-lifecycle/01-onmount/app-b/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<canvas
2121
width={32}
2222
height={32}
23-
/>
23+
></canvas>
2424

2525
<style>
2626
canvas {

content/tutorial/01-svelte/07-lifecycle/03-tick/app-a/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<textarea
2828
value={text}
2929
on:keydown={handleKeydown}
30-
/>
30+
></textarea>
3131

3232
<style>
3333
textarea {

content/tutorial/01-svelte/07-lifecycle/03-tick/app-b/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<textarea
3030
value={text}
3131
on:keydown={handleKeydown}
32-
/>
32+
></textarea>
3333

3434
<style>
3535
textarea {

content/tutorial/02-advanced-svelte/01-motion/01-tweens/app-a/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const progress = writable(0);
55
</script>
66

7-
<progress value={$progress} />
7+
<progress value={$progress}></progress>
88

99
<button on:click={() => progress.set(0)}>
1010
0%

content/tutorial/02-advanced-svelte/01-motion/01-tweens/app-b/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
});
99
</script>
1010

11-
<progress value={$progress} />
11+
<progress value={$progress}></progress>
1212

1313
<button on:click={() => progress.set(0)}>
1414
0%

content/tutorial/02-advanced-svelte/02-transitions/09-deferred-transitions/app-a/src/lib/TodoList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<span>{todo.description}</span>
1919

20-
<button on:click={() => store.remove(todo)} aria-label="Remove" />
20+
<button on:click={() => store.remove(todo)} aria-label="Remove"></button>
2121
</label>
2222
</li>
2323
{/each}

content/tutorial/02-advanced-svelte/02-transitions/09-deferred-transitions/app-b/src/lib/TodoList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<span>{todo.description}</span>
2323

24-
<button on:click={() => store.remove(todo)} aria-label="Remove" />
24+
<button on:click={() => store.remove(todo)} aria-label="Remove"></button>
2525
</label>
2626
</li>
2727
{/each}

content/tutorial/02-advanced-svelte/03-animations/01-animate/app-b/src/lib/TodoList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<span>{todo.description}</span>
2525

26-
<button on:click={() => store.remove(todo)} aria-label="Remove" />
26+
<button on:click={() => store.remove(todo)} aria-label="Remove"></button>
2727
</label>
2828
</li>
2929
{/each}

content/tutorial/02-advanced-svelte/04-actions/01-actions/app-a/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
on:click={() => {
3131
selected = color;
3232
}}
33-
/>
33+
></button>
3434
{/each}
3535
</div>
3636

0 commit comments

Comments
 (0)