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

missing documentation on promises #2597

Closed
ErichBSchulz opened this issue Jun 9, 2013 · 3 comments
Closed

missing documentation on promises #2597

ErichBSchulz opened this issue Jun 9, 2013 · 3 comments
Labels

Comments

@ErichBSchulz
Copy link

hey :) noting this #2221

and this deprecation notice (here)

Deprecation Notice: 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.

just wondering what the plan is?

no mention of promises here: http://backbonejs.org/

@akre54
Copy link
Collaborator

akre54 commented Jun 9, 2013

There's some discussion going on #2489 about adding promises to Backbone core. Feel free to chime in there.

@wookiehangover
Copy link
Collaborator

So this is actually a red herring. Backbone only relies on the success and error options that are passed to $.ajax, not the methods being referred to in your issue. The methods in question are aliases to methods on $.Deferred and have been marked for deprecation. The success and error options have not been deprecate.

Those warnings are likely in your application and aren't a by-product of Backbone's use of jQuery.

@ErichBSchulz
Copy link
Author

@wookiehangover cool thanks. Just for clarification notice is in the jquery doc, they weren't error messages.

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

No branches or pull requests

3 participants