Total failure under Firefox 18 #137

Closed
bartwomey opened this Issue Jan 10, 2013 · 1 comment

1 participant

@bartwomey

MochaUI stopped working with today's release of Firefox 18.
Take a look at this demo:
http://pat.cullen.co.za/project/WindowPicker/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 :)

@bartwomey

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.

mootools/mootools-core#2402

@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