From b990923c338311c72b6a77ea7f4a5241541e4100 Mon Sep 17 00:00:00 2001 From: davidxi Date: Wed, 27 Aug 2014 15:18:03 -0400 Subject: [PATCH] Update Dispatcher.js --- src/Dispatcher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dispatcher.js b/src/Dispatcher.js index bc06a07accf2ff..bafbc3449cd04d 100644 --- a/src/Dispatcher.js +++ b/src/Dispatcher.js @@ -47,7 +47,7 @@ var _prefix = 'ID_'; * * This payload is digested by `CityStore`: * - * flightDispatcher.register(function(payload)) { + * flightDispatcher.register(function(payload) { * if (payload.actionType === 'city-update') { * CityStore.city = payload.selectedCity; * } @@ -87,7 +87,7 @@ var _prefix = 'ID_'; * The usage of `waitFor()` can be chained, for example: * * FlightPriceStore.dispatchToken = - * flightDispatcher.register(function(payload)) { + * flightDispatcher.register(function(payload) { * switch (payload.actionType) { * case 'country-update': * flightDispatcher.waitFor([CityStore.dispatchToken]);