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

Deprecation of jqXHR.success(), jqXHR.error(), and jqXHR.complete() #2741

Closed
abahdanovich opened this issue Sep 3, 2013 · 3 comments
Closed

Comments

@abahdanovich
Copy link

From http://api.jquery.com/jQuery.ajax :

The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks are deprecated as of jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.

@wookiehangover
Copy link
Collaborator

Backbone only uses the success and error callback handlers that are passed as options to $.ajax, which are not being deprecated--only the aliases for the deferred callback handlers are being removed.

@abahdanovich
Copy link
Author

OK, thank you for explanation

@wookiehangover
Copy link
Collaborator

Sure thing, thanks for opening the issue.

For the sake of cross-reference, this issue came up before in #2597--it's always a good idea to do search before opening issues 😸

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