Skip to content

Commit

Permalink
Remove Fixture Adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
greyhwndz committed Aug 30, 2015
1 parent 0268cc3 commit 4d9d3f1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions packages/ember-data/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ import {
import ManyArray from "ember-data/system/many-array";
import RecordArrayManager from "ember-data/system/record-array-manager";
import {
FixtureAdapter,
JSONAPIAdapter,
RESTAdapter
} from "ember-data/adapters";
Expand Down Expand Up @@ -153,23 +152,6 @@ Object.defineProperty(DS, 'normalizeModelName', {
value: normalizeModelName
});

var _FixtureAdapter = FixtureAdapter;

Object.defineProperty(DS, 'FixtureAdapter', {
get: function() {
if (_FixtureAdapter === FixtureAdapter) {
Ember.deprecate('DS.FixtureAdapter has been deprecated and moved into an unsupported addon: https://github.com/emberjs/ember-data-fixture-adapter/tree/master', false, {
id: 'ds.adapter.fixture-adapter-deprecated',
until: '2.0.0'
});
}
return _FixtureAdapter;
},
set: function(FixtureAdapter) {
_FixtureAdapter = FixtureAdapter;
}
});

Ember.lookup.DS = DS;

export default DS;

0 comments on commit 4d9d3f1

Please sign in to comment.