Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#13657 closed bug (notabug)

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;
}

Change History (4)

comment:1 Changed 10 years ago by dmethvin

#13658 is a duplicate of this ticket.

comment:2 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

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

comment:3 Changed 10 years ago by Markus.Staab

ok will move the issue to githubs tracker.

comment:4 Changed 10 years ago by kswedberg

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

Note: See TracTickets for help on using tickets.