Skip to content

Instantly share code, notes, and snippets.

@joegaudet
Created June 30, 2010 04:49
Show Gist options
  • Save joegaudet/458250 to your computer and use it in GitHub Desktop.
Save joegaudet/458250 to your computer and use it in GitHub Desktop.
DarkHorse.SchoolFeedItem = SC.View.extend(SC.StaticLayout, SC.Control,{
layout: { top: 0, right: 0, bottom: 0, left: 0 },
childViews: 'contentView'.w(),
contentView: SC.View.extend({
layout: { top: 10, right: 10, bottom: 10, left: 10 },
childViews: 'label'.w(),
classNames: 'feedItem schoolFeedItem',
label:SC.LabelView.design({
layout: { top: 10, right: 10, bottom: 10, left: 10 }
})
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment