我正在引用最新的 ember 版本,但在控制台中出现此错误。这是为什么?
Uncaught Error: Ember.State has been moved into a plugin: https://github.com/emberjs/ember-states
这是最新版本中出现此错误的代码:
/**
Ember
@module ember
*/
function throwWithMessage(msg) {
return function() {
throw new Ember.Error(msg);
};
}