![]() fetch method returns a promise instead of an actual object. We used find before, because this was the way we did things before upgrade to Ember Model. Returning a promise from a model hook pauses router rendering for the time a resource is loading, which makes it much easier to deal with asynchronous requests. Thanks to that we can remove parts of the code, which dealt with it manually. |
||
---|---|---|
.. | ||
adapter.coffee | ||
ajax.coffee | ||
chunk_buffer.coffee | ||
expandable_record_array.coffee | ||
instrumentation.coffee | ||
limited_array.coffee | ||
line_number_parser.coffee | ||
location.coffee | ||
model.coffee | ||
ordered_log.coffee |