Sha256: 8fd47cb9daa4216cdb1d318c347897a3043b8c156091f729a11b8051b43b2ff2

Contents?: true

Size: 649 Bytes

Versions: 11

Compression:

Stored size: 649 Bytes

Contents

// ==========================================================================
// Project:   Greenhouse.Design
// Copyright: ©2010 Mike Ball
// ==========================================================================
/*globals Greenhouse */

/**

  (Document your Model here)

  @extends SC.Record
  @version 0.1
*/
Greenhouse.Design = SC.Record.extend(
/** @scope Greenhouse.Design.prototype */ {
  primaryKey: 'scClass',

  name: SC.Record.attr(String),
  scClass: SC.Record.attr(String),
  defaults: SC.Record.attr(Object),

  canEdit: function(){
    return this.getPath('parentRecord.canEdit');
  }.property('parentRecord').cacheable()

}) ;

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.11.0.rc3 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.11.0.rc2 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.11.0.rc1 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.10.3.1 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.10.2 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.10.1 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.10.0 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.10.0.rc.3 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.10.0.rc.2 lib/frameworks/sproutcore/apps/greenhouse/models/design.js
sproutcore-1.10.0.rc.1 lib/frameworks/sproutcore/apps/greenhouse/models/design.js