ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 18a6412fbaa5f5c9502dd248504fc024eaaa04ea
parent 72dbef1f634a4eddf50a4ed96dba2bf4167594ab
Author: Zach Gotsch <zach@khanacademy.org>
Date:   Thu, 25 Dec 2014 13:46:04 -0500

Remove extraneous return in PageStore dispatcher callback.

The dispatcher released by facebook (and included in this starter kit)
doesn't use the return value of the stores' dispatcher callbacks.

Diffstat:
Msrc/stores/PageStore.js | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/stores/PageStore.js b/src/stores/PageStore.js @@ -42,8 +42,6 @@ PageStore.dispatcherToken = Dispatcher.register(payload => { PageStore.emitChange(); } - return true; // No errors. Needed by promise in Dispatcher. - }); module.exports = PageStore;