Skip to content

Commit

Permalink
More whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Aug 17, 2024
1 parent d30bca2 commit 90616cc
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions site/samples/sample5.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,12 @@ class List extends EventTarget {
this.dispatchEvent(new Event('item-removed'));
}

clearDone() {
this.doneItems().forEach(it => it.remove());
}
clearDone = () => this.doneItems().forEach(it => it.remove());
invertAll = () => this.items.forEach(it => it.toggle());

invertAll() {
this.items.forEach(it => it.toggle());
}
itemChanged = () => this.dispatchEvent(new Event('item-toggled'));

doneItems() {
return this.items.filter(it => it.done);
}

itemChanged() {
this.dispatchEvent(new Event('item-toggled'));
}
doneItems = () => this.items.filter(it => it.done);

}

Expand Down

0 comments on commit 90616cc

Please sign in to comment.