RecordArrayのステータスisLoaded
が、ajax呼び出しの成功メソッドが呼び出される前に、なぜtrueに設定されているのか説明することができます。エンバー・データのソースコードからEmber-data RecordArray isLoaded Status
findAll: function(store, type, since) {
var root = this.rootForType(type);
this.ajax(this.buildURL(root), "GET", {
data: this.sinceQuery(since),
success: function(json) {
debugger;
Ember.run(this, function(){
this.didFindAll(store, type, json);
});
}
});
},
ビューで定義され
handler: function() {
var content, controller = this.get('controller');
if(controller.get('content.isLoaded')) {
}
}.observes('controller.content.isLoaded')