// ========================================================================== // 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”); // the 'well'-styled container SC
.BaseTheme.wellRenderDelegate = SC
.Object.create({
className: 'well', render: function(dataSource, context) { context.push("<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>", "<div class='content-background'></div>"); }, update: function() { }
});