[jQuery] Re: Problem with jQuery.unique( array )

2007-09-28 Thread Richard D. Worth
It turns out this was a bug in the docs, not in the code. jQuery.unique only supports an array of DOM elements. See related thread: [jquery-dev] unique(array) function - bug ticket 1747 http://groups.google.com/group/jquery-dev/browse_thread/thread/92b8c0230efd739 Docs have been updated and ticke

[jQuery] Re: Problem with jQuery.unique( array )

2007-09-27 Thread Richard D. Worth
It looks like $.unique(array) is only working for arrays of objects at the moment, which does look like a bug. I've created a ticket: http://dev.jquery.com/ticket/1747 The ticket has a patch attached including unit tests and a possible fix. - Richard On 9/27/07, Sparticat <[EMAIL PROTECTED]> wr