mirror of
https://github.com/jquery/jquery.git
synced 2026-02-10 15:25:14 -05:00
Selector: add jQuery.uniqueSort; deprecate jQuery.unique
Fixes gh-2228
This commit is contained in:
@@ -72,7 +72,7 @@ jQuery.fn.extend({
|
||||
jQuery.find( selector, self[ i ], ret );
|
||||
}
|
||||
|
||||
return this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );
|
||||
return this.pushStack( len > 1 ? jQuery.uniqueSort( ret ) : ret );
|
||||
},
|
||||
filter: function( selector ) {
|
||||
return this.pushStack( winnow(this, selector || [], false) );
|
||||
|
||||
Reference in New Issue
Block a user