Bug Tracker

Opened 10 years ago

Closed 10 years ago

#10155 closed feature (invalid)

$.unique maintain order

Reported by: [email protected] Owned by:
Priority: low Milestone: None
Component: core Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

$.unique("[1,2,3,6,2,5]")

return 5,1,3,2,6

Can maintain the original order

return 1,2,3,6,5

Change History (1)

comment:1 Changed 10 years ago by Rick Waldron

Component: unfiledcore
Priority: undecidedlow
Resolution: invalid
Status: newclosed

http://api.jquery.com/jquery.unique/

Description: Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.

Last edited 10 years ago by Rick Waldron (previous) (diff)
Note: See TracTickets for help on using tickets.