Index: src/object-observe.js |
diff --git a/src/object-observe.js b/src/object-observe.js |
index 5ca70bcff565c8daf8fc15d8343aee3bbd0b59c8..ada7919d6dd215f6d49470f30dca230d14f02d83 100644 |
--- a/src/object-observe.js |
+++ b/src/object-observe.js |
@@ -294,7 +294,7 @@ function EndPerformSplice(array) { |
EndPerformChange(objectInfo, 'splice'); |
} |
-function EnqueueSpliceRecord(array, index, removed, deleteCount, addedCount) { |
+function EnqueueSpliceRecord(array, index, removed, addedCount) { |
var objectInfo = objectInfoMap.get(array); |
if (IS_UNDEFINED(objectInfo) || objectInfo.changeObservers.length === 0) |
return; |
@@ -307,7 +307,6 @@ function EnqueueSpliceRecord(array, index, removed, deleteCount, addedCount) { |
addedCount: addedCount |
}; |
- changeRecord.removed.length = deleteCount; |
ObjectFreeze(changeRecord); |
ObjectFreeze(changeRecord.removed); |
EnqueueChangeRecord(changeRecord, objectInfo.changeObservers); |