-
• #2
Could be related to fast loading: http://www.espruino.com/Bangle.js+Fast+Load
-
• #3
Thanks!
-
• #4
Hi - yes, it's definitely the 'fast load' stuff. It means we have to be a bit more careful about how things are defined - but it can be worth it if you want to make sure you get a nice quick switch between your clock and the launcher.
In
apps/antonclk/app.js
, this comment appears:Does anyone know what that means, exactly? In the previous version of the clock, that comment appeared, and the functions inside it were declared using the usual
function foo() {
syntax, which made the IDE complain. Now they're all defined likelet foo = function() {
, which makes the IDE stop complaining, but I don't understand the reason for the containing block.I apologize if I missed this somewhere obvious in the documentation.