aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2015-05-04 15:27:12 -0700
committerTimmy Willison <timmywillisn@gmail.com>2015-05-04 15:27:12 -0700
commite1090c3d2b2a988a5b41f1f1ed9f8d6dcae02200 (patch)
tree713ef04318030185d6dba550c71c8dbaec6f5486 /src/traversing
parent7a6931de689865f559bed26e797e8cbb5674bbce (diff)
downloadjquery-e1090c3d2b2a988a5b41f1f1ed9f8d6dcae02200.tar.gz
jquery-e1090c3d2b2a988a5b41f1f1ed9f8d6dcae02200.zip
Selector: add jQuery.uniqueSort; deprecate jQuery.unique
Fixes gh-2228
Diffstat (limited to 'src/traversing')
-rw-r--r--src/traversing/findFilter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traversing/findFilter.js b/src/traversing/findFilter.js
index eee3b6bee..128df2cb4 100644
--- a/src/traversing/findFilter.js
+++ b/src/traversing/findFilter.js
@@ -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) );