Permalink
Browse files

old habits die hard

  • Loading branch information...
1 parent e6f66f5 commit 8b0413a2145c9796e384c4aecab96bbdefffe424 @jsoverson jsoverson committed Aug 31, 2012
@@ -6,9 +6,9 @@ define(['marionette','templates','vent','views/TodoItemView'], function (Marione
return Marionette.CompositeView.extend({
template : templates.todosCompositeView,
itemView : ItemView,
+ itemViewContainer : '#todo-list',
ui : {
- list : '#todo-list',
toggle : '#toggle-all'
},
@@ -30,10 +30,6 @@ define(['marionette','templates','vent','views/TodoItemView'], function (Marione
this.ui.toggle.prop('checked', allCompleted);
},
- appendHtml : function(collectionView, itemView) {
- this.ui.list.append(itemView.el);
- },
-
onToggleAllClick : function(evt) {
var isChecked = evt.currentTarget.checked;
this.collection.each(function(todo){

0 comments on commit 8b0413a

Please sign in to comment.