while (this._dirtyItems.length>0){ var d = this._dirtyItems.pop(); this._mixin(d.item, d.old); } this.onRevert();