I wonder if there's a way to tell it not to do that, or tell it that those functions exist?
You could always post-process it (ie, find/replace "window." with "")
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 wonder if there's a way to tell it not to do that, or tell it that those functions exist?
You could always post-process it (ie, find/replace "window." with "")