Total failure under Firefox 18 #137

bartwomey opened this Issue Jan 10, 2013 · 1 comment

1 participant


MochaUI stopped working with today's release of Firefox 18.
Take a look at this demo:
The screen is blank, the error is "currentInstance is null".

The latest GitHub release also failes catastrophically:
// Firefox
if (typeof GearsFactory != 'undefined'){
F = new GearsFactory();

,because typeof GearsFactory is actually "undefined" in this release.

Any advice would be kindly and / or financially appreciated :)


It is a Mootools 1.2.x issue.

Quick fix: You need add "String.prototype.contains = undefined;" before init mootools core. Or add this row as first row in your core file.


@bartwomey bartwomey closed this Jan 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment