$.merge() doesn't remove all dupes in 1.1.3
|Reported by:||Raze||Owned by:|
I frequently use $.merge to remove duplicate elements in arrays. Before upgrading to 1.1.3, this worked perfectly on my URIencoded strings. Now it misses most (but not all) of the duplicates, and I get arrays with numerous consecutive duplicates values, as well as scattered ones. Example: $.merge(this.optionItems, this.searchObj.targets[i][plugin.field].split(","));
Returning the result of $.merge into the target array (this.optionItems) makes no difference.
When I switched my jQuery back to 1.1.2, it worked with no problems.