Sha256: 5b1dc558f48503c0bee07d8d7cdecaec41c5e6401a78db9db6d809a94724e139

Contents?: true

Size: 980 Bytes

Versions: 5

Compression:

Stored size: 980 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
//            Portions ©2008-2009 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================

/**
  Border between the two panes of the MasterDetail.

  Note that the border does NOT include any space on the sides. Space
  on left or right sides of MasterDetail, if any, should be handled by
  its layout.
 */
SC.BaseTheme.MASTER_DETAIL_DIVIDER_WIDTH = 1;

SC.BaseTheme.masterDetailRenderDelegate = SC.RenderDelegate.create({
  name: 'master-detail',
  
  render: function(dataSource, context) {
    context.setClass('round-toolbars', SC.platform.touch);
  },
  
  update: function(dataSource, jquery) {
    jquery.setClass('round-toolbars', SC.platform.touch);    
  }
  
});

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
spade-0.0.1 sproutcore/frameworks/desktop/render_delegates/master_detail.js
sproutcore-1.5.0.pre.5 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js
sproutcore-1.5.0.pre.4.1 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js
sproutcore-1.5.0.pre.4 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js
sproutcore-1.5.0.pre.3 lib/frameworks/sproutcore/frameworks/desktop/render_delegates/master_detail.js