Created
July 8, 2011 13:15
-
-
Save skurfuerst/1071799 to your computer and use it in GitHub Desktop.
This file contains 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
var propertyPanelView = SC.View.create({ // | |
template: SC.Handlebars.compile('A{{#each schema}}\ | |
XX{{key}}{{label}} {{thestuff}}\ | |
x{{#each thestuff}} ASDF {{/each}}y\ | |
{{/each}}'), | |
schema: [ | |
{ | |
key: 'Plugin Settings', | |
label: 'huhu', | |
thestuff: [ | |
{ | |
key: 'package', | |
type: 'string', | |
label: 'Package' | |
}, { | |
key: 'controller', | |
type: 'string', | |
label: 'Controller' | |
} | |
] | |
}, | |
{ | |
key: 'Access', | |
thestuff: [ | |
{ | |
key: 'visibility', | |
type: 'boolean', | |
label: 'Visibility' | |
} | |
] | |
}, | |
] | |
}); | |
propertyPanelView.appendTo($('.rightarea')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment