This is the github bangle.js2 app that runs the code in question: doztime. But the code isn't likely the problem. The github app runs under all firmware versions. The non-github app with the same "problem" code line runs under 2v12 but not 2v25 when loaded from the Espruino web IDE, which is the only way I know to load it onto the watch.
But the code isn't likely the problem. The github app runs under all firmware versions
You could download the code from github for the app that works fine, and then try to upload it using the web ide. This may help you understand if the web ide is relevant.
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.
This is the github bangle.js2 app that runs the code in question: doztime. But the code isn't likely the problem. The github app runs under all firmware versions. The non-github app with the same "problem" code line runs under 2v12 but not 2v25 when loaded from the Espruino web IDE, which is the only way I know to load it onto the watch.