Skip to content

Commit 5d4158f

Browse files
committed
Remove hideAll and showAll methods from vanillajs. They are not used anywhere
1 parent e5997bf commit 5d4158f

File tree

1 file changed

+0
-20
lines changed
  • frameworks/keyed/vanillajs/src

1 file changed

+0
-20
lines changed

frameworks/keyed/vanillajs/src/Main.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,6 @@ class Store {
4949
select(id) {
5050
this.selected = id;
5151
}
52-
hideAll() {
53-
this.backup = this.data;
54-
this.data = [];
55-
this.selected = null;
56-
}
57-
showAll() {
58-
this.data = this.backup;
59-
this.backup = null;
60-
this.selected = null;
61-
}
6252
runLots() {
6353
this.data = this.buildData(10000);
6454
this.selected = null;
@@ -115,16 +105,6 @@ class Main {
115105
//console.log("update");
116106
this.update();
117107
}
118-
else if (e.target.matches('#hideall')) {
119-
e.preventDefault();
120-
//console.log("hideAll");
121-
this.hideAll();
122-
}
123-
else if (e.target.matches('#showall')) {
124-
e.preventDefault();
125-
//console.log("showAll");
126-
this.showAll();
127-
}
128108
else if (e.target.matches('#runlots')) {
129109
e.preventDefault();
130110
//console.log("runLots");

0 commit comments

Comments
 (0)