Skip to content

Instantly share code, notes, and snippets.

// Init
App = SC.Application.create({
store: SC.Store.create().from(SC.Record.fixtures)
});
App.Contact = SC.Record.extend({
firstName: SC.Record.attr(String, { key: 'first_name' }),
lastName: SC.Record.attr(String, { key: 'last_name' }),
age: SC.Record.attr(Number),
ageSlow: function() {