Skip to content

Instantly share code, notes, and snippets.

@gmoeck
Created January 10, 2011 15:46
Show Gist options
  • Save gmoeck/772927 to your computer and use it in GitHub Desktop.
Save gmoeck/772927 to your computer and use it in GitHub Desktop.
Todos.mainPage = SC.Page.design({
mainPane: SC.MainPane.design({
childViews: 'middleView'.w(),
middleView: SC.ScrollView.design({
childViews: 'contentView'.w(),
contentView: SC.ListView.design({
contentBinding: 'Todos.tasksController.arrangedObjects' //ADDED THIS
})
})
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment