Here's a snippet from ObservableArray.js:
ObservableArray.prototype.setItem = function (index, value) {
this._array[index] = value;
this.notify({
eventName: CHANGE, object: this,
action: ChangeType.Update,
index: index,
removed: new Array(1),
addedCount: 1
});
};
The following line: removed: new Array(1) is the one I am talking about.
Here's a snippet from ObservableArray.js:
The following line:
removed: new Array(1)is the one I am talking about.