Skip to content

Commit

Permalink
backport collection fix to test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Apr 4, 2022
1 parent a5575bd commit 5c56124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,8 @@
add: function () {
fabric.Collection.add.call(this, arguments, this._onObjectAdded);
},
insertAt: function (objects, index, nonSplicing) {
fabric.Collection.insertAt.call(this, objects, index, nonSplicing, this._onObjectAdded);
insertAt: function (objects, index) {
fabric.Collection.insertAt.call(this, objects, index, this._onObjectAdded);
},
remove: function () {
fabric.Collection.remove.call(this, arguments, this._onObjectRemoved);
Expand Down

0 comments on commit 5c56124

Please sign in to comment.