Created
May 18, 2011 20:25
-
-
Save iammerrick/979468 to your computer and use it in GitHub Desktop.
How SproutCore Template views robs you from a large piece of the framework, desktop controls.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Script | |
Pain = SC.Application.create(); | |
SC.ready(function() { | |
Pain.mainPane = SC.TemplatePane.append({ | |
layerId: 'pain', | |
templateName: 'pain', | |
toolbarView: SC.ToolbarView.design({}) | |
}); | |
}); | |
// Template 'pain' | |
{{view toolbarView}} | |
// Currently this does not work in SproutCore, but is planned for the future. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment