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

proxiedSync #2

Open
halcyonandon opened this issue Apr 25, 2013 · 1 comment
Open

proxiedSync #2

halcyonandon opened this issue Apr 25, 2013 · 1 comment

Comments

@halcyonandon
Copy link

I'm currently looking to abort pending requests when certain user actions are taken. This seemed like a good solution, however due to the nature of the api behind my backbone app, I'm already required to overwrite backbone.sync to support things like a csrf token. Since this solution also overwrites sync, those of us already doing so can't use this solution. I was wondering if I'm missing something or if there's a way to use this solution in such a scenario. Thanks

@amccloud
Copy link
Owner

I think this should still work for you. It should call which ever Backbone.sync was originally defined. Including any custom ones you load before this.

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