The apps are each individual JS files that are run in one go when the app is loaded. It's as if you do Upload to Storage with the Web IDE: http://www.espruino.com/Saving#to-storage
It's not like using save(), so the whole idea of onInit/etc doesn't make too much sense since your code is all executed at once anyway.
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.
Hi @Robin,
Maybe you could check out the Bangle.js tutorials first, specifically https://www.espruino.com/Bangle.js+First+App
The apps are each individual JS files that are run in one go when the app is loaded. It's as if you do Upload to Storage with the Web IDE: http://www.espruino.com/Saving#to-storage
It's not like using
save()
, so the whole idea of onInit/etc doesn't make too much sense since your code is all executed at once anyway.