Browse Source

Run all tests, fix indentation

main
Ben Alpert 11 years ago
parent
commit
6b348e4188
  1. 8
      docs/flux-todo-list.md

8
docs/flux-todo-list.md

@ -96,10 +96,10 @@ Dispatcher.prototype = merge(Dispatcher.prototype, {
var resolves = []; var resolves = [];
var rejects = []; var rejects = [];
_promises = _callbacks.map(function(_, i) { _promises = _callbacks.map(function(_, i) {
return new Promise(function(resolve, reject) { return new Promise(function(resolve, reject) {
resolves[i] = resolve; resolves[i] = resolve;
rejects[i] = reject; rejects[i] = reject;
}); });
}); });
// Dispatch to callbacks and resolve/reject promises. // Dispatch to callbacks and resolve/reject promises.
_callbacks.forEach(function(callback, i) { _callbacks.forEach(function(callback, i) {

Loading…
Cancel
Save