Skip to main content

Bug Tracker

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;
}
Attachments (0)
Change History (2)

Changed March 25, 2013 08:39AM UTC by Markus.Staab comment:1

duplicate of http://bugs.jquery.com/ticket/13657. website was very slow therefore submitted twice by mistake. sorry for that.

Changed March 25, 2013 02:10PM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Duplicate of #13657.