diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2015-01-08 13:35:28 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2015-01-11 21:11:56 -0500 |
commit | 0ea8c32863af31fb5cfc184e8d513bbae35583e8 (patch) | |
tree | 28aa7d751e6f5ee5a785c890b82b767324eb9410 /src/traversing/findFilter.js | |
parent | 89ce0af2cf7f001647e74fc1de92ce94a51fd5c2 (diff) | |
download | jquery-0ea8c32863af31fb5cfc184e8d513bbae35583e8.tar.gz jquery-0ea8c32863af31fb5cfc184e8d513bbae35583e8.zip |
Core: Remove deprecated context and selector properties
Fixes gh-1908
Closes gh-2000
Diffstat (limited to 'src/traversing/findFilter.js')
-rw-r--r-- | src/traversing/findFilter.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/traversing/findFilter.js b/src/traversing/findFilter.js index 840229bff..eee3b6bee 100644 --- a/src/traversing/findFilter.js +++ b/src/traversing/findFilter.js @@ -72,10 +72,7 @@ jQuery.fn.extend({ jQuery.find( selector, self[ i ], ret ); } - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = this.selector ? this.selector + " " + selector : selector; - return ret; + return this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); }, filter: function( selector ) { return this.pushStack( winnow(this, selector || [], false) ); |