Skip to content

Commit

Permalink
Fix typo in Siema.insert
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjohansson committed May 31, 2018
1 parent 2fb47eb commit e84e2be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.Siema.remove(index, callback);
},
insert: function insert(item, index, callback) {
this.Siema.remove(item, index, callback);
this.Siema.insert(item, index, callback);
},
prepend: function prepend(item, callback) {
this.Siema.prepend(item, callback);
Expand Down
2 changes: 1 addition & 1 deletion docs/build/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11306,7 +11306,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.Siema.remove(index, callback);
},
insert: function insert(item, index, callback) {
this.Siema.remove(item, index, callback);
this.Siema.insert(item, index, callback);
},
prepend: function prepend(item, callback) {
this.Siema.prepend(item, callback);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Siema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default {
this.Siema.remove(index, callback);
},
insert(item, index, callback) {
this.Siema.remove(item, index, callback);
this.Siema.insert(item, index, callback);
},
prepend(item, callback) {
this.Siema.prepend(item, callback);
Expand Down

0 comments on commit e84e2be

Please sign in to comment.