Skip to content

Commit 3b85534

Browse files
committed
15: some fixes by eslint
Signed-off-by: Soshi Katsuta <soshi.katsuta@gmail.com>
1 parent 85ce490 commit 3b85534

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

15 - LocalStorage/script.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
class Notifier {
42
constructor() {
53
this.handlers = [];
@@ -60,10 +58,10 @@ class ViewModel {
6058
<input id="item${i}" type="checkbox" data-index="${i}" ${checked}/>
6159
<label for="item${i}">${item.text}</label>
6260
</li>`;
63-
}).join("\n");
61+
}).join('\n');
6462

6563
this.itemsList.innerHTML = html;
66-
}
64+
};
6765
this.populateList();
6866
}
6967

@@ -72,7 +70,7 @@ class ViewModel {
7270

7371
const item = {
7472
text: this.addItemInput.value,
75-
done: false
73+
done: false,
7674
};
7775
this.itemsStore.add(item);
7876

0 commit comments

Comments
 (0)