Sha256: b3046408789246c16e8212523e71e9d4ee3d1dc22e06e0720cbb5a6258d37f31
Contents?: true
Size: 507 Bytes
Versions: 4
Compression:
Stored size: 507 Bytes
Contents
/** SC.TemplatePane is a helper that will create a new pane based on a single root TemplateView. function main() { MyApp.mainPane = SC.TemplatePane.append({ layerId: 'my-root-id', templateName: 'app' }) } */ SC.TemplatePane = SC.Object.extend({}); SC.mixin(SC.TemplatePane, { append: function(attrs) { var pane = SC.MainPane.extend({ childViews: ['contentView'], contentView: SC.TemplateView.design(attrs) }); return pane.create().append(); } });
Version data entries
4 entries across 4 versions & 2 rubygems