-
• #2
Hi,
Thanks - that's interesting! Just looked into this and it seems that after the Promise code was refactored it can't have been tested on the emulator itself, so Promises have probably been broken in the Emulator since April.
I've just pushed an update to the emulators, so if you refresh now the emulator should report as version 2v24.25 and it should be fixed.
-
• #3
Thanks. It's a relief that the problem wasn't on my end, as I thought I would lose my mind figuring out what was wrong! :-)
I'm trying to do development and have hit a brick wall with a strange problem I can't diagnose.
E.showPrompt
works fine on my physical Bangle.js, but it fails with an incomprehensible error message when I try to use it in an emulator. Even after clearing all of the persistent in-browser data for the Espruino Web IDE and starting on a clean slate, the following simple example doesn't work:When I click a button, nothing inside the then() gets executed at all, and instead I get this console message:
What does that even mean? I grepped the entire project directory and came up with no code matches for “argspec” at all.
It works if I send it to my actual Bangle, but developing it that way right now is quite literally a pain in the neck—my vision isn't very good. I'd rather stick with the emulator most of the time.