Skip to content

Commit 09c9ec1

Browse files
committed
Merge branch 'benmccann-onclick'
2 parents d3f5d82 + c9f9b67 commit 09c9ec1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

frameworks/keyed/svelte/src/Main.svelte

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,17 @@
121121
<div class="col-md-6">
122122
<div class="row">
123123
<div class="col-sm-6 smallpad">
124-
<button type="button" class="btn btn-primary btn-block" id="run" on:click={run}
124+
<button type="button" class="btn btn-primary btn-block" id="run" onclick={run}
125125
>Create 1,000 rows</button
126126
>
127127
</div>
128128
<div class="col-sm-6 smallpad">
129-
<button type="button" class="btn btn-primary btn-block" id="runlots" on:click={runLots}
129+
<button type="button" class="btn btn-primary btn-block" id="runlots" onclick={runLots}
130130
>Create 10,000 rows</button
131131
>
132132
</div>
133133
<div class="col-sm-6 smallpad">
134-
<button type="button" class="btn btn-primary btn-block" id="add" on:click={add}
134+
<button type="button" class="btn btn-primary btn-block" id="add" onclick={add}
135135
>Append 1,000 rows</button
136136
>
137137
</div>
@@ -140,11 +140,11 @@
140140
type="button"
141141
class="btn btn-primary btn-block"
142142
id="update"
143-
on:click={partialUpdate}>Update every 10th row</button
143+
onclick={partialUpdate}>Update every 10th row</button
144144
>
145145
</div>
146146
<div class="col-sm-6 smallpad">
147-
<button type="button" class="btn btn-primary btn-block" id="clear" on:click={clear}
147+
<button type="button" class="btn btn-primary btn-block" id="clear" onclick={clear}
148148
>Clear</button
149149
>
150150
</div>
@@ -153,7 +153,7 @@
153153
type="button"
154154
class="btn btn-primary btn-block"
155155
id="swaprows"
156-
on:click={swapRows}>Swap Rows</button
156+
onclick={swapRows}>Swap Rows</button
157157
>
158158
</div>
159159
</div>
@@ -166,12 +166,12 @@
166166
<tr class={selected === row.id ? 'danger' : ''}
167167
><td class="col-md-1">{row.id}</td><td class="col-md-4"
168168
><a
169-
on:click={() => {
169+
onclick={() => {
170170
selected = row.id;
171171
}}>{row.label}</a
172172
></td
173173
><td class="col-md-1"
174-
><a on:click={() => remove(row)}
174+
><a onclick={() => remove(row)}
175175
><span class="glyphicon glyphicon-remove" aria-hidden="true" /></a
176176
></td
177177
><td class="col-md-6" /></tr

0 commit comments

Comments
 (0)