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

docs: backcompat updates notes on addBack #27

Closed
staabm opened this issue Mar 27, 2013 · 1 comment
Closed

docs: backcompat updates notes on addBack #27

staabm opened this issue Mar 27, 2013 · 1 comment

Comments

@staabm
Copy link

staabm commented Mar 27, 2013

would be nice if the upgrade guide to 1.9 would suggest how to write code which works with "all"/older jquery versions (so lib/plugin authors can write code which works with 1.6+

http://jquery.com/upgrade-guide/1.9/#addback-selector-replaces-andself-

a small code sample like

if (!jQuery.fn.addBack && jQuery.fn.andSelf) {
   jQuery.fn.addBack = jQuery.fn.andSelf;
}

moved from bug-tracker http://bugs.jquery.com/ticket/13657
and api jquery tracker jquery/api.jquery.com#272

@scottgonzalez
Copy link
Member

This type of content belongs on learn.jquery.com. See jquery/learn.jquery.com#501.

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