Skip to content

Instantly share code, notes, and snippets.

@gmoeck
Created January 10, 2011 17:22
Show Gist options
  • Save gmoeck/773083 to your computer and use it in GitHub Desktop.
Save gmoeck/773083 to your computer and use it in GitHub Desktop.
Todos.tasksController = SC.ArrayController.create({
countSummary: function() {
return 'No Tasks'; //ADDED THIS
}.property('length').cacheable() //ADDED PROPERTIES
}) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment