Can someone explain to me why the RecordArray isLoaded parameter is set to true before even the success method is called when ajax is called.
From source code ember-data p>
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); }); } }); },
Defined in view
handler: function() { var content, controller = this.get('controller'); if(controller.get('content.isLoaded')) { } }.observes('controller.content.isLoaded')
source share