diff options
| author | Jan Tuomi <jan.tuomi@eficode.com> | 2018-03-03 17:44:55 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@eficode.com> | 2018-03-03 17:44:55 +0200 |
| commit | db90ddaec4181c85c40b6897ab87342948f28e8b (patch) | |
| tree | 0325b93606d0639a65a4e8efaf4a3a8b6926d09a /src/components/counter | |
| parent | 7f3665b501217db16deb62d079cc18506f6ac566 (diff) | |
Start using riot-vigilante
Diffstat (limited to 'src/components/counter')
| -rw-r--r-- | src/components/counter/counter.tag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/counter/counter.tag b/src/components/counter/counter.tag index d558e8e..a319436 100644 --- a/src/components/counter/counter.tag +++ b/src/components/counter/counter.tag @@ -5,7 +5,7 @@ this.count = 0; const counter = this; - clicker.on('click', () => { + observe('clicker').on('click', () => { counter.count += 1; counter.update(); }); |
