// ========================================================================== // Project: SproutCore
- JavaScript Application Framework // Copyright: ©2006-2011 Strobe Inc. and contributors. // Portions ©2008-2011 Apple Inc. All rights reserved. // License: Licensed under MIT license (see license.js) // ========================================================================== sc_require(“theme”); SC
.LegacyTheme.panelRenderDelegate = SC
.RenderDelegate.create({
className: 'panel', render: function(dataSource, context) { context.push( "<div class='middle'></div>", "<div class='top-left-edge'></div>", "<div class='top-edge'></div>", "<div class='top-right-edge'></div>", "<div class='right-edge'></div>", "<div class='bottom-right-edge'></div>", "<div class='bottom-edge'></div>", "<div class='bottom-left-edge'></div>", "<div class='left-edge'></div>" ); }, update: function() { // We never update child views. They get to do that on their own. }
});