File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
frameworks/keyed/vanillajs/src Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -49,16 +49,6 @@ class Store {
49
49
select ( id ) {
50
50
this . selected = id ;
51
51
}
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
- }
62
52
runLots ( ) {
63
53
this . data = this . buildData ( 10000 ) ;
64
54
this . selected = null ;
@@ -115,16 +105,6 @@ class Main {
115
105
//console.log("update");
116
106
this . update ( ) ;
117
107
}
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
- }
128
108
else if ( e . target . matches ( '#runlots' ) ) {
129
109
e . preventDefault ( ) ;
130
110
//console.log("runLots");
You can’t perform that action at this time.
0 commit comments