commit 9911e1d7b654d33a129bdb4da48c839368169b60 parent 24e5e3be146ab5bc4098c94bab2683e3fcf2b206 Author: Konstantin Tarkus <koistya@gmail.com> Date: Tue, 2 Jun 2015 00:29:48 +0300 Merge pull request #128 from fschindler/fixes-#105 Fixes #105 Diffstat:
| M | src/stores/AppStore.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js @@ -49,7 +49,7 @@ var AppStore = Object.assign({}, EventEmitter.prototype, { * @param {function} callback Callback function. */ off(callback) { - this.off(CHANGE_EVENT, callback); + this.removeListener(CHANGE_EVENT, callback); } });