Skip to main content

Bug Tracker

Side navigation

#13657 closed bug (notabug)

Opened March 25, 2013 08:35AM UTC

Closed March 25, 2013 02:11PM UTC

Last modified March 27, 2013 01:42PM 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 (4)

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

#13658 is a duplicate of this ticket.

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

resolution: → notabug
status: newclosed

You can report docs issues or make pull requests at http://github.com/jquery/api.jquery.com/

Changed March 27, 2013 09:43AM UTC by Markus.Staab comment:3

ok will move the issue to githubs tracker.

Changed March 27, 2013 01:42PM UTC by kswedberg comment:4

Pretty sure this one belongs on the http://github.com/jquery/jquery.com/ repo (not *api.*).