Thanks - I saw https://github.com/espruino/Espruino/pull/2305 but I'm afraid I don't think that's going to be an easy one to put in, because it will likely cause corruption in a lot of other apps.
Best bet is if you want to do that, in your clock, overwrite Bangle.drawWidgets with your code - then those changes will apply only for your clock, where it won't cause problems for other apps
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.
That's fine (because it is trying to execute the module after upload) but if you now try running code, it should work.
... or this is maybe the better option: https://github.com/espruino/BangleApps/blob/master/modules/README.md#change-the-web-ide-search-path-to-include-banglejs-modules
Thanks - I saw https://github.com/espruino/Espruino/pull/2305 but I'm afraid I don't think that's going to be an easy one to put in, because it will likely cause corruption in a lot of other apps.
Best bet is if you want to do that, in your clock, overwrite
Bangle.drawWidgets
with your code - then those changes will apply only for your clock, where it won't cause problems for other apps