#7036 closed bug (invalid)
$.unique() does not work correctly in Google Chrome
Reported by: | yun_cn | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | core | Version: | 1.4.2 |
Keywords: | unique, | Cc: | |
Blocked by: | Blocking: |
Description
$.unique() does not work correctly in Google Chrome even though it works in Firefox 3.9 correctly.
I have an example in
http://wodehome.hp.infoseek.co.jp/english/English_100_7000.html
around line 100.
Attachments (1)
Change History (4)
Changed 12 years ago by
Attachment: | English_100_7000.html added |
---|
comment:1 follow-up: 2 Changed 12 years ago by
Component: | unfiled → core |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:2 follow-up: 3 Changed 12 years ago by
Replying to john:
$.unique() is only designed to work on DOM nodes, not on arrays of strings.
Thanks a lot for your quick replay. Are there any efficient way to unique an array with strings with jquery? I appreciate any suggestion. I have added it to the array prototype but I don't think it as the best way.
comment:3 Changed 12 years ago by
Replying to yun_cn:
Are there any efficient way to unique an array with strings with jquery?
This sort of question is probably better placed in a support forum instead of a bug tracker.
$.unique() is only designed to work on DOM nodes, not on arrays of strings.