Side navigation
#13658 closed bug (duplicate)
Opened March 25, 2013 08:36AM UTC
Closed March 25, 2013 02:10PM UTC
docs: backcompat updates notes on addBack
Reported by: | Markus.Staab | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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; }
duplicate of http://bugs.jquery.com/ticket/13657. website was very slow therefore submitted twice by mistake. sorry for that.