Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't break the call chain in the fetch #8

Open
omeralper opened this issue May 20, 2014 · 1 comment
Open

Don't break the call chain in the fetch #8

omeralper opened this issue May 20, 2014 · 1 comment

Comments

@omeralper
Copy link

I think this should be
if( this.getToken() ){
// we'll be using the supplied access token
Backbone.Model.prototype.fetch.call( self ,options);
}

instead of

if( this.getToken() ){
// we'll be using the supplied access token
Backbone.Model.prototype.fetch.call( self );
}

@tracend
Copy link
Member

tracend commented May 22, 2014

Sure, maybe even:

Backbone.Model.prototype.fetch.apply( self, arguments );

Feel free to send in a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants