Very nice. Tried it, went to https://floriandh.github.io/EspruinoWebIDE/ but cannot create javascript file, it throws "code.js:137 Uncaught TypeError: Cannot read property 'setFilesArray' of undefined at HTMLButtonElement. "
also one letter name "t" gives error "Name cannot contain whitespace".
Can it load other files from other tabs as modules? i.e. you have tab "module1" and "main" and main would use require("module1") and it would get loaded from the other tab?
Hi Fanoush thank you for the fast review, I will check it out.
I have to disappoint you, my modification doesn't support the use of the require() function.
(Nice idea though!)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Very nice. Tried it, went to https://floriandh.github.io/EspruinoWebIDE/ but cannot create javascript file, it throws "code.js:137 Uncaught TypeError: Cannot read property 'setFilesArray' of undefined at HTMLButtonElement. "
also one letter name "t" gives error "Name cannot contain whitespace".
Can it load other files from other tabs as modules? i.e. you have tab "module1" and "main" and main would use
require("module1")
and it would get loaded from the other tab?