From e43743132de84707d2b0ea49639604d917af6102 Mon Sep 17 00:00:00 2001 From: Jeroen van Dijk Date: Thu, 28 Apr 2011 12:06:12 -0700 Subject: [PATCH] This incorrect binding was really giving me issues. Not sure why it works or why it works differently. You can see the bug in action in my fork where I fixed this in https://github.com/jeroenvandijk/Todos-Example/commit/95d1aeea56b072fd6810584a73c149e233cc8062. I would be curious to know what is going on here. --- apps/todos/todos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/todos/todos.js b/apps/todos/todos.js index 0302a67..7d76568 100644 --- a/apps/todos/todos.js +++ b/apps/todos/todos.js @@ -55,7 +55,7 @@ Todos.ClearCompletedView = SC.TemplateView.extend({ }); Todos.TodoListView = SC.TemplateCollectionView.extend({ - contentBinding: 'Todos.todoListController' + contentBinding: 'Todos.todoListController.content' }); Todos.CheckboxView = SC.TemplateView.extend(SC.CheckboxSupport, {