Skip to content

Commit

Permalink
fix(TodoApp): rename bindings to providers
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Oct 18, 2015
1 parent 208da83 commit c595dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/TodoApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Filters from '../services/Filters';

@Component({
selector: 'todo-app',
bindings: [TodoStore, Filters],
providers: [TodoStore, Filters],
directives: [TextEditor, TodoView, Footer],
template: require('./TodoApp.html')
})
Expand All @@ -32,6 +32,6 @@ export default class TodoApp {
}

getFilteredTodos() {
return this.todoStore.todos.filter(() => this.filters.current());
return this.todoStore.todos.filter(this.filters.current());
}
}

0 comments on commit c595dd4

Please sign in to comment.