From 75d7d8d63d3a6ac883a6b44f2dde42cce1a102f5 Mon Sep 17 00:00:00 2001 From: Tony Schneider Date: Tue, 26 May 2015 16:11:17 -0400 Subject: [PATCH] Cleanup unused 'materialize' records in model --- packages/ember-data/lib/system/model/model.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/ember-data/lib/system/model/model.js b/packages/ember-data/lib/system/model/model.js index 6de8fd51257..85f9caf5f7e 100644 --- a/packages/ember-data/lib/system/model/model.js +++ b/packages/ember-data/lib/system/model/model.js @@ -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.