You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: