mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[simulator/web] Better window definition check
This commit is contained in:
@@ -68,7 +68,7 @@ void python_execution_end() {
|
||||
|
||||
// window isn't defined on Node (CI)
|
||||
EM_ASM({
|
||||
if (window) {
|
||||
if (typeof variable !== 'undefined') {
|
||||
window.postMessage({
|
||||
type: 'epsilon_micropython_executionEnvironment_runCode_finished',
|
||||
value: Module.___temp_storage_dump,
|
||||
|
||||
Reference in New Issue
Block a user