Skip to content

Commit

Permalink
Cleanup unused 'materialize' records in model
Browse files Browse the repository at this point in the history
  • Loading branch information
tonywok committed May 26, 2015
1 parent 20075c2 commit 75d7d8d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/ember-data/lib/system/model/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -971,19 +971,6 @@ var Model = Ember.Object.extend(Ember.Evented, {
this._notifyProperties(changedKeys);
},

materializeId: function(id) {
set(this, 'id', id);
},

materializeAttributes: function(attributes) {
Ember.assert("Must pass an object to materializeAttributes", !!attributes);
merge(this._data, attributes);
},

materializeAttribute: function(name, value) {
this._data[name] = value;
},

/**
If the model `isDirty` this function will discard any unsaved
changes. If the model `isNew` it will be removed from the store.
Expand Down

0 comments on commit 75d7d8d

Please sign in to comment.