Ref #13283, move .andSelf() to deprecated.js. Close gh-1170.

This commit is contained in:
Nguyen Phuc Lam
2013-02-26 22:55:36 -05:00
committed by Dave Methvin
parent 85f1985f24
commit 8bc7bdebef
7 changed files with 8 additions and 7 deletions

View File

@@ -1,4 +1,6 @@
// Limit scope pollution from any deprecated API
// (function() {
jQuery.fn.andSelf = jQuery.fn.addBack;
// })();

View File

@@ -136,8 +136,6 @@ jQuery.fn.extend({
}
});
jQuery.fn.andSelf = jQuery.fn.addBack;
function sibling( cur, dir ) {
while ( (cur = cur[dir]) && cur.nodeType !== 1 ) {}