I'm trying to create an activity module which uses Mootools. I get an error whenever I include the Mootools library though. The error occurs when $PAGE->footer() is called. If I switch to a page layout which doesn't include the footer everything works fine.
In Chrome I get the following error:
"Uncaught TypeError: Cannot read property '1' of undefined" in yui.js:1142.
And in Firefox I get:
"parts is undefined".
Thanks in advance.