fix in isAreaEmpty and _notify

This commit is contained in:
Pavel Reznikov 2016-02-22 22:48:20 -08:00
commit a33f046fa6
4 changed files with 5 additions and 5 deletions

View file

@ -277,7 +277,7 @@
if (this._updateCounter) {
return;
}
var deletedNodes = Array.prototype.slice.call(arguments, 1).concat(this.getDirtyNodes());
var deletedNodes = Array.prototype.slice.call(arguments, 0);
deletedNodes = deletedNodes.concat(this.getDirtyNodes());
this.onchange(deletedNodes);
};