My findings with the jQuery.support collection in 1.3.2-vsdoc and IE 8

My findings with the jQuery.support collection in 1.3.2-vsdoc and IE 8


In adding a css property as such:
$('#id').css('cursor','pointer')
I found that I was getting an exception error in jquery-1.3.2.vsdoc.js
at lines 1595 and 1325 with the jquery.support collection, where the
script was testing for an opacity property.
First, I tried adding a try/catch around those two functions, but I
would get an intellisense error from within visual studio. I did some
searching on the internet, and some claimed that it was due to an
inproper css value being passed to jQuery. I didn't believe this to be
the case here. So, I tried this:
Preceeding lines 1325 and 1595, I added the condition
if(jQuery.support != null){.....}
Now, the exception is not created and the css property I added using
jQuery works perfectly fine.
In further examination, and trying to find the definition of
jQuery.support, I found this at line 4564:
//[vsdoc] The following function has been commented out for
IntelliSense.
//(function(){
// jQuery.support = {};
Well, that seems interesting...maybe this explains why there is an
exception.
Anyways, so far, my code is working fine by adding the if statement
before lines 1325 and 1595. Will post again, if I find more. Please
comment if this was helpful or offbase ;)