I run an Ember app that runs inside a page that also loads Mootools.
It's an old app I am updating. With 1.0-pre4 it worked fine. With 1.0-RC8 (oldest found) till 1.5beta, no version works any more.
I tracked it down to this code included at the start of the Mootools code:
Function.prototype.extend = function(key, value) { /* ... */ }
Removing that line in mootools makes it work fine. Anyone else had a similar situation? Is there any way I can use those 2 libraries in the same page? (p.s. no, I cannot remove Mootools - cannot control it)