Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Nov 28, 2014
1 parent f7477f1 commit 8801d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/todomvc/todo-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function add(state, data) {
function clearCompleted(state) {
Object.keys(state.todos).forEach(function clear(key) {
if (state.todos[key].completed()) {
destroy(state, { id: state.todos[key].id() });
destroy(state, state.todos[key]());
}
});
}
Expand Down

0 comments on commit 8801d9b

Please sign in to comment.