Browse Source

Add missing emitChange() to Flux docs

main
Ben Alpert 11 years ago
parent
commit
cde47cf2c7
  1. 3
      docs/flux-todo-list.md

3
docs/flux-todo-list.md

@ -221,9 +221,10 @@ var TodoStore = merge(EventEmitter.prototype, {
case TodoConstants.TODO_DESTROY:
destroy(action.id);
TodoStore.emitChange();
break;
// add more cases for other actionTypes, like TODO_UPDATE, etc.
// add more cases for other actionTypes, like TODO_UPDATE, etc.
}
return true; // No errors. Needed by promise in Dispatcher.

Loading…
Cancel
Save