From 2c6fb5c12bef0e818b6c06eeaeec09bb5edbc9a5 Mon Sep 17 00:00:00 2001 From: Stefan Sobering Date: Fri, 22 Aug 2014 19:38:44 -0500 Subject: [PATCH] Remove erroneous paren from dispatcher example --- docs/Dispatcher.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Dispatcher.md b/docs/Dispatcher.md index 511643737b2852..0a5fb7592b3bf5 100644 --- a/docs/Dispatcher.md +++ b/docs/Dispatcher.md @@ -62,7 +62,7 @@ flightDispatcher.dispatch({ This payload is digested by `CityStore`: ``` -flightDispatcher.register(function(payload)) { +flightDispatcher.register(function(payload) { if (payload.actionType === 'city-update') { CityStore.city = payload.selectedCity; }