diff --git a/src/standard/notify-path.html b/src/standard/notify-path.html index 7a23fcfe13..fd8fbc81dd 100644 --- a/src/standard/notify-path.html +++ b/src/standard/notify-path.html @@ -412,9 +412,8 @@ splice: function(path, start, deleteCount) { var array = this.get(path); var args = Array.prototype.slice.call(arguments, 1); - var rem = array.slice(start, start + deleteCount); var ret = array.splice.apply(array, args); - this._notifySplice(array, path, start, args.length - 2, rem); + this._notifySplice(array, path, start, args.length - 2, ret); return ret; },