Update Dispatcher.js
volkanunsal committed
May 4, 2014 at 19:08 UTC
a7823a3624f722f5afdcb4c5c198114408f68b6b
1 file changed
+1
-1
examples/todomvc-flux/js/dispatcher/Dispatcher.js
+1
-1
@@ -54,7 +54,7 @@ var _clearPromises = function() {
54
* @param {number} index The index within the _promises array
55
*/
56
var _checkPromise = function(_,j){
57
- return promiseIndexes.indexOf(j) !== -1;
57
+ return _promises.indexOf(j) !== -1;
58
}
59
60
var Dispatcher = function() {};