cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

Total failure under Firefox 18 #137

Closed bartwomey closed 11 years ago

bartwomey commented 11 years ago

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 commented 11 years ago

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.

https://github.com/mootools/mootools-core/issues/2402