this._changeHandlers was undefined when calling cancel()

pull/1178/head
Gareth Oates 7 years ago
parent 8330f328fa
commit 7d44b181f2

@ -115,7 +115,7 @@ assign(Store.prototype, {
cancel: function() {
var index = this._changeHandlers.indexOf(callback);
if (~index) this._changeHandlers.splice(index, 1);
}
}.bind(this)
};
},
@ -163,4 +163,4 @@ assign(Store.prototype, {
}
});
export { Store };
export { Store };

Loading…
Cancel
Save