However, enabling the Pretokenise code before upload (BETA) option in minification gives a red toast message saying:
Error parsing JavaScript, but uploading anyway.
SyntaxError: Unexpected token (1:127)
Error: Line 1: Unexpected token {
I'm not sure if being able to be pretokenised is a requirement for getting a module merged though. If so, I'd appreciate any hints on how to debug them (as copy-pasting the code on to the IDE seems to work just fine and I'm unable to reproduce the error)
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.
However, enabling the
Pretokenise code before upload (BETA)
option in minification gives a red toast message saying:I'm not sure if being able to be pretokenised is a requirement for getting a module merged though. If so, I'd appreciate any hints on how to debug them (as copy-pasting the code on to the IDE seems to work just fine and I'm unable to reproduce the error)