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

Warn against using jQuery.ajaxSetup() #179

Closed
dmethvin opened this issue Nov 21, 2012 · 2 comments
Closed

Warn against using jQuery.ajaxSetup() #179

dmethvin opened this issue Nov 21, 2012 · 2 comments

Comments

@dmethvin
Copy link
Member

We should be strongly recommending against using $.ajaxOptions() since it makes global behavior changes to all ajax requests and therefore can cause unexpected behavior in plugins or other modules that expect the documented defaults. With many options to $.ajax, users also have unmet expectations about whether $.ajaxOptions() should be overridden or instead magically merged/resolved with whatever was passed to $.ajax.

@kswedberg
Copy link
Member

$.ajaxOptions?

@dmethvin
Copy link
Member Author

Yes... when i get the wrong name in my head it won't come out.

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

No branches or pull requests

2 participants