espruino / EspruinoTools

JavaScript library of tools for Espruino - used for the Web IDE, CLI, etc.
Apache License 2.0
150 stars 89 forks source link

Including a unminified module via BangleApps #136

Open gfwilliams opened 3 years ago

gfwilliams commented 3 years ago

It seems BangleApps turns pretokenising on, and it looks like what happens is if an unminified module is included it gets loaded, minified, AND pretokenised, and then the stringification isn't good enough to escape the characters, which then breaks the acorn parser