Skip to content

Instantly share code, notes, and snippets.

@lxcodes
Created November 30, 2011 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lxcodes/1409805 to your computer and use it in GitHub Desktop.
Save lxcodes/1409805 to your computer and use it in GitHub Desktop.
Trouble With Sproutcore Template Views inside Core
<div>
Hello, <b>{{text}}</b>!
</div>
mainPane: SC.MainPane.design({
childViews: ['mainToolbar','followUp'],
mainToolbar: SC.ToolbarView.design({
...
}),
followUp: SC.TemplateView.create({
templateName: 'followup',
text: "world"
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment