Skip to content

Instantly share code, notes, and snippets.

@ttdonovan
Created November 18, 2008 22:10
Show Gist options
  • Select an option

  • Save ttdonovan/26301 to your computer and use it in GitHub Desktop.

Select an option

Save ttdonovan/26301 to your computer and use it in GitHub Desktop.
CDWeb.CDData = SC.Record.extend(
/** @scope CDWeb.CDData.prototype */ {
dataSource: CDWeb.server,
resourceURL: '/cdweb/rest/data',
properties: ['type', 'display_string', 'fname', 'lname' ],
primaryKey: 'guid',
display_string: 'New Object'
}) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment