Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Support jqXHR interface on load function #360

Open
jacobsvante opened this issue Apr 30, 2014 · 0 comments
Open

Support jqXHR interface on load function #360

jacobsvante opened this issue Apr 30, 2014 · 0 comments
Labels
Milestone

Comments

@jacobsvante
Copy link
Contributor

Would be nice to be able to use Thorax's .load() the same way as Backbone's .fetch(). I.e. by using the returned deferred object like this:

myCollection.load().done(function() {
    console.log('yey');
});

I think supporting the complete and error options like the original fetch method would be good practice as well.

@kpdecker kpdecker modified the milestones: 3.0, 3.1 Nov 30, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants