我的代码中没有任何地方引用 Ember.State。我不知道那是什么。如果我使用最新的 Ember 1.0.0 和 ember-data .13 为什么会出现此错误,我该怎么办?
问问题
521 次
1 回答
6
You are getting this error because ember data 0.13 used Ember.State
but ember 1.0.0 has moved it away into a plugin as the error states. To get rid of the error you should use ember data 1.0.0 beta 1 in tandem with ember 1.0.0.
All the releases are now easy accessible under: http://emberjs.com/builds/
And before you hit some other to you unexplained errors you should read this ember data transition guide: https://github.com/emberjs/data/blob/master/TRANSITION.md
Hope it helps.
于 2013-09-04T23:05:03.490 回答