So I have this pretty simple use-case:
init: function() {
app.products = new app.Collections.Products();
app.categories = new app.Collections.Categories();
var collections = [app.products, app.categories];
var complete = _.invoke(collections, 'fetch');
$.when(null, complete).then(function(){
// fetched, but no models
});
};
This works fine from an XHR point of view, but inside the callback, the Models for the respective collections haven't been created yet. Is there a way to also look out for the "reset" event from the "fetch" in this promise-based solution?