Closed Franzo- closed 4 years ago
Clicking the "Save File" button of the EspruinoWebIDE in non-Chome browsers (i.e. Firefox) fails with the following error printed on console:
Uncaught ReferenceError: chrome is not defined fileSaveDialog debugger eval code:5 click https://www.espruino.com/ide/js/core/file.js:57
Browsers like Firefox do not have the 'chrome' symbol defined, so check it in fileSaveDialog() function before accessing 'chrome.filesystem'.
Thanks! That was a stupid mistake on my part ;)
Clicking the "Save File" button of the EspruinoWebIDE in non-Chome browsers (i.e. Firefox) fails with the following error printed on console:
Browsers like Firefox do not have the 'chrome' symbol defined, so check it in fileSaveDialog() function before accessing 'chrome.filesystem'.