Sha256: 904616e752a7aca84e0ffe2529d699708be2c1b0a70152e132e8c8a0831e777a

Contents?: true

Size: 807 Bytes

Versions: 3

Compression:

Stored size: 807 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2008-2011 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================
/*globals Docs */

/** @class

  (Document your Model here)

  @extends SC.Record
  @version 0.1
*/
Docs.Entity = SC.Record.extend(
/** @scope Docs.Entity.prototype */ {

  childRecordNamespace: Docs,

  type: 'Entity',

  title: SC.Record.attr(String),
  objectType: SC.Record.attr(String, {key: 'type'}),
  name: SC.Record.attr(String),
  isOptional: SC.Record.attr(Boolean, {defaultValue: NO}),
  defaultValue: SC.Record.attr(String),
  desc: SC.Record.attr(String)

}) ;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sc-docs-0.0.3 lib/sc_docs/docs/apps/docs/models/entity.js
sc-docs-0.0.2 lib/sc_docs/docs/apps/docs/models/entity.js
sc-docs-0.0.1 lib/sc_docs/docs/apps/docs/models/entity.js