[jQuery] 1.1 breaks sort (w/ fix) (again)

[jQuery] 1.1 breaks sort (w/ fix) (again)

Apparently I'm the only person that uses metadata and sort. Sort also broke with 1.1, exactly the same way it did with 1.0.4 (see here: <<a href="http://jquery.com/dev/bugs/bug/255/"> http://jquery.com/dev/bugs/bug/255/
</a>>. As was the case before, it was just the result of some refactoring, but it took me all night to hunt down. Here's the change:
Old: return this.pushStack( jQuery.merge( [].sort.apply( this, arguments ), []), [] );
New: return this.pushStack( jQuery.makeArray( [].sort.apply( this, arguments )) );
I've added this to the bug report.
--Erik
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/