I'm not sure where to post this or if it should be posted as a bug. The interface site says that a section for interface will be put up in the jQuery site.
thx
On 8/31/06, Francisco Brito <[EMAIL PROTECTED]> wrote:
The iterator being used is a for-in but the object is an Array, so it's sometimes breaking and sometimes doing insane things due to my additions to Array.prototype.
Sortables:92
for(i in jQuery.iSort.changed){
I suggest changing it to a vanilla for loop:
for(var i = 0; i < jQuery.iSort.changed.length; i++){
Optimization and actually seeing if it works is an exercise to the reader ;)
IMHO I don't think iterating with a for-in is a good idea if the object is an array.
Cheers,Brito
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
