[jQuery] jQuery doesn't get along with old Prototype
I'm writing a bookmarklet application using jQuery and it fails with any page that uses Prototype 1.3.1.
I found that it's Object.prototype.extend that breaks jQuery.
jQuery's extend method gets overwritten after the first call to
jQuery.extend({/**/}).
It's rare to use jQuery and Prototype 1.3.1 together, but it's absolutely possible that jQuery will coexist with some poorly written code.
Anyway to make jQuery more robust?
Can we check hasOwnProperty() before copying properties inside
jQuery.extend?
Or can we have a black-list to filter out properties that conflict with jQuery?<br clear="all">
--
Arrix
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/