我打电话
Hyena.Store = DS.Store.extend({
revision: 11,
adapter: DS.RESTAdapter.extend()
});
它不适用于带有大量错误的 Chrome 浏览器,例如Uncaught TypeError: Cannot call method 'extend' of undefined
和DS.RESTAdapter has no method extend
. 有人知道为什么吗?它在 Safari 和 Firefox 中运行良好,但在 Chrome 中仅加载 10 次。
编辑:根据要求添加错误输出之一:
Uncaught TypeError: Object [object Object] has no method 'setup' ember.js?body=1:29481
Ember.Application.Ember.Namespace.extend.setupEventDispatcher ember.js?body=1:29481
Ember.Application.Ember.Namespace.extend.didBecomeReady ember.js?body=1:29453
DeferredActionQueues.flush ember.js?body=1:4901
Backburner.end ember.js?body=1:4591
Backburner.run ember.js?body=1:4630
Ember.run ember.js?body=1:5112
(anonymous function) ember.js?body=1:29201
fire jquery.js?body=1:3065
self.fireWith jquery.js?body=1:3177
jQuery.extend.ready jquery.js?body=1:434
completed jquery.js?body=1:105