Skip to content

Commit 5315703

Browse files
committed
removed unused deleteNext
1 parent 1243c30 commit 5315703

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

inferno-v1.0.0-alpha7/src/store.es6.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ export class Store {
2929
this.data = this.data.filter((e,i) => i!=idx);
3030
return this;
3131
}
32-
deleteNext(id) {
33-
const idx = this.data.findIndex(d => d.id==id);
34-
this.data = this.data.filter((e,i) => i!=idx+1);
35-
return this;
36-
}
3732
run() {
3833
this.data = this.buildData();
3934
this.selected = undefined;

0 commit comments

Comments
 (0)