Michael Geary schrieb:
>>> From: Stephen Woodbridge <[EMAIL PROTECTED]>
>>> http://imaptools.com:8081/maps/demo2.html
> 
>> From: Brent Pedersen
>> i'd guess the offending line is in mscross: 
>>
>> Object.prototype.objRef = null;
> 
> Good catch. It's strictly verboten to add to Object.prototype. That will
> break all kinds of things, not just jQuery.


Totally agreed, but we could still make jQuery more robust:

for (propName in obj) {
     if (obj.hasOwnProperty(propName)) {
         // do something with property...
     }
}

jQuery is supposed to be used with lots of third party code (which 
propably will extend the object here and there), so maybe we should 
think about that.


-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to