Skip to content

Instantly share code, notes, and snippets.

@gmoeck
Forked from drnic/snippet.html
Created June 4, 2011 19:34
Show Gist options
  • Save gmoeck/1008256 to your computer and use it in GitHub Desktop.
Save gmoeck/1008256 to your computer and use it in GitHub Desktop.
App.NoticeCollectionView = SC.TemplateCollectionView.extend({
contentBinding: 'App.noticesListController',
tagName: 'div',
classNames: ['message', 'notices'],
itemView: SC.TemplateView.extend({
tagName: 'p',
classNames: ['notice']
})
})
{{#collection App.NoticeCollectionView }}
...
{{/collection}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment