Good catch, Mike - that definitely should be a semicolon.

As luck would have it, in this particular case the code works the same with
either the comma or a semicolon (even in IE). It works for the same reason
that these two code sequences are equivalent:

   a = b, c = d;

   a = b; c = d;

-Mike

> From: mkidder
> 
> John,
> 
> There is a "comma" at the end of line #694 in 1.1.3.1 
> jquery.js source, shouldn't this be a semi-colon?  It's not 
> part of an object literal, and may cause problems with IE6.  
> We know how it loves extra commas.
> 
> jQuery.styleFloat = jQuery.browser.msie ? "styleFloat" : "cssFloat",
> 
> to
> 
> jQuery.styleFloat = jQuery.browser.msie ? "styleFloat" : "cssFloat";
> 
> Regards, Mike Kidder

Reply via email to