我正在从预发布版本更新到 Ember js 1.0.0。我目前收到标题错误
Ember.State.reopen( {
active: false,
enter: function() {
this.set('active', true);
},
exit: function() {
this.set('active', false);
}
});
是什么导致了这个错误,我该如何解决?
最佳答案
自此 pull request 之后,Ember 状态已被删除
您可以在 ember-states github repository 中找到它
关于javascript - 未捕获的类型错误 : Object #<Object> has no method 'reopen' (Ember. js),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19522087/