PythonExtra/ports
Nicholas H.Tollervey 14c2b64131 webassembly: Replace typeof window check with ENVIRONMENT_IS_NODE flag.
When the "typeof window" check is run within a web worker the window is
undefined, causing an error because "require" is only defined in a Node
environment.  Change the logic to reflect the true intentions of when this
code should run, ie in Node only.

Signed-off-by: Damien George <damien@micropython.org>
2023-07-13 13:24:35 +10:00
..
bare-arm
cc3200 all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins. 2023-06-08 17:54:21 +10:00
embed all: Rename *umodule*.c to remove the "u" prefix. 2023-06-08 17:54:17 +10:00
esp32 esp32/network_wlan: Wait for STA/AP START/STOP event in wlan.active. 2023-07-13 11:49:14 +10:00
esp8266 extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
mimxrt ports: In machine_i2s.c, rename uasyncio to asyncio. 2023-06-19 18:36:54 +10:00
minimal all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
nrf extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
pic16bit
powerpc all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
qemu-arm py/mkrules.mk: Automatically configure frozen options when manifest set. 2023-06-08 23:12:56 +10:00
renesas-ra renesas-ra,stm32: Remove duplicate machine module from constants list. 2023-07-13 13:18:09 +10:00
rp2 ports: In machine_i2s.c, rename uasyncio to asyncio. 2023-06-19 18:36:54 +10:00
samd samd/mpconfigport: Provide the platform module. 2023-06-27 14:58:44 +10:00
stm32 renesas-ra,stm32: Remove duplicate machine module from constants list. 2023-07-13 13:18:09 +10:00
teensy ports: Standardise docs link in help text. 2023-06-02 11:48:46 +10:00
unix extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
webassembly webassembly: Replace typeof window check with ENVIRONMENT_IS_NODE flag. 2023-07-13 13:24:35 +10:00
windows extmod/asyncio: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
zephyr py/mkrules.mk: Automatically configure frozen options when manifest set. 2023-06-08 23:12:56 +10:00