Skip to content

Commit

Permalink
Merge pull request facebook#43 from davidxi/patch-1
Browse files Browse the repository at this point in the history
remove redundant parentheses in sample code
  • Loading branch information
fisherwebdev committed Aug 28, 2014
2 parents 9869780 + b990923 commit ceba3d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
* }
Expand Down Expand Up @@ -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]);
Expand Down

0 comments on commit ceba3d5

Please sign in to comment.