Skip to content

Commit 5a29f67

Browse files
deleted log messages from Store
1 parent 2360122 commit 5a29f67

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ep28-more-dispatcher-usage/app/stores/TodoStore.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,18 @@ AppDispatcher.register(function(action) {
44

55
switch(action.actionType) {
66
case 'TODO_DONE':
7-
console.log("Handling TODO_DONE using dispatcher in store");
87
TodoStore.markTodoDone(action.todo);
98
break;
109

1110
case 'TODO_UNDONE':
12-
console.log("Handling TODO_UNDONE using dispatcher in store");
1311
TodoStore.markTodoUnDone(action.todo);
1412
break;
1513

1614
case 'TODO_DELETE':
17-
console.log("Handling TODO_DELETE using dispatcher in store");
1815
TodoStore.deleteTodo(action.todo);
1916
break;
2017

2118
case 'TODO_ADD':
22-
console.log("Handling TODO_ADD using dispatcher in store");
2319
TodoStore.getTodos();
2420
break;
2521
}

0 commit comments

Comments
 (0)