After upgrading to Ember.js RC2 I get the following deprecation warning:
DEPRECATION: register("store", "main") is now deprecated in-favour of register("store:main");
What do I have to change in this minimal app to fix it?
App = Ember.Application.create();
App.Store = DS.Store.extend({
revision: 11,
adapter: 'DS.FixtureAdapter'
});
Installing the newest version of ember-data.js
and updating the code to:
App = Ember.Application.create();
App.Store = DS.Store.extend({
revision: 12,
adapter: 'DS.FixtureAdapter'
});
solves this problem. Thanks @finn-maccool !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With