Skip to content

Instantly share code, notes, and snippets.

Created December 17, 2012 18:28
Show Gist options
  • Save anonymous/4320641 to your computer and use it in GitHub Desktop.
Save anonymous/4320641 to your computer and use it in GitHub Desktop.
extend/create with container view
Method A:
InsightArticleView: Em.ContainerView.extend
tagName: 'article'
childViews: ['Toolbar']
Toolbar: Core.EditorToolbarView.extend()
Method B:
InsightArticleView: Em.ContainerView.extend
tagName: 'article'
childViews: ['toolbar']
toolbar: Core.EditorToolbarView.create()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment