Skip to content

Commit

Permalink
v1.0.0-beta.3, fix clear() of selected list,
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Oct 27, 2018
1 parent aecc51f commit bc14e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rete",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "JavaScript framework",
"main": "build/rete.min.js",
"types": "src/index.d.ts",
Expand Down
4 changes: 1 addition & 3 deletions src/selected.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export class Selected {
}

clear() {
this.each(item => {
this.remove(item);
});
this.list = [];
}

remove(item) {
Expand Down

0 comments on commit bc14e5c

Please sign in to comment.