Uncaught ReferenceError: "onDrag" is not defined
at line 1 col 285
...ngle.removeListener('drag',onDrag);Bangle.removeListener('on...
^
in function "a" called from line 2 col 168
...e;delete Bangle.uiRemove;a()}g.reset();if(c){if("updown"==c)...
^
in function called from line 1 col 31
Bangle.uiRemove?(Bangle.setUI(),(__FILE__=a)||(a=".bootcde")...
^
at line 1 col 115
..."Storage").read(a))):load(a)
^
in function called from line 1 col 408
...))}c?Bangle.load(b.launcher):eval('E.showMessage("No Launche...
^
at line 1 col 525
...at:false,edge:"falling"});');
^
in function called from system
How do I resolve this?
However, development is very difficult for me as I do not understand certain things. E.g. when I want to check the interaction between the watchface and the loader, the easiest would be to just upload my watchface to the storage. But when I do that via IDE, I get strange errors from the watchface that I don't get when it is uploaded to RAM:
Uncaught Error: Module Font5x9Numeric7Seg not found
at line 15 col 29 in hworldclock.app.js
require("Font5x9Numeric7Seg").add(Graphics);
^
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.
I attached my current code.
Current log shows:
How do I resolve this?
However, development is very difficult for me as I do not understand certain things. E.g. when I want to check the interaction between the watchface and the loader, the easiest would be to just upload my watchface to the storage. But when I do that via IDE, I get strange errors from the watchface that I don't get when it is uploaded to RAM:
1 Attachment