mirror of
https://github.com/jquery/jquery.git
synced 2026-02-03 04:55:04 -05:00
Ref #13283, move .andSelf() to deprecated.js. Close gh-1170.
This commit is contained in:
committed by
Dave Methvin
parent
85f1985f24
commit
8bc7bdebef
@@ -1,4 +1,6 @@
|
||||
// Limit scope pollution from any deprecated API
|
||||
// (function() {
|
||||
|
||||
jQuery.fn.andSelf = jQuery.fn.addBack;
|
||||
|
||||
// })();
|
||||
|
||||
@@ -136,8 +136,6 @@ jQuery.fn.extend({
|
||||
}
|
||||
});
|
||||
|
||||
jQuery.fn.andSelf = jQuery.fn.addBack;
|
||||
|
||||
function sibling( cur, dir ) {
|
||||
while ( (cur = cur[dir]) && cur.nodeType !== 1 ) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user