Mootools extends the “Function” class and adds a new method called “extend” in it. Now jQuery tries to add “extend” function using jQuery.prototype.extend. However since “extend” is already a part of the jQuery object (since jQuery is an object of the Function class) so jQuery.prototype.extend doesn’t work.
Did anyone come across this conflict while using Mootools and jQuery simultaneously ?
More generically, if a native class like “Function or Array or Object” is extended, do we have a way to revert back to the original definitions ?
The only way I can think to do that: