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.
© Espruino, powered by microcosm.
Report a problem