We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0c013 commit c7432bfCopy full SHA for c7432bf
pkg/dart2wasm/bin/run_wasm.js
@@ -42,6 +42,8 @@ const main = async () => {
42
return new WebAssembly.Instance(compile(filename), imports);
43
}
44
45
+ globalThis.window ??= globalThis;
46
+
47
let importObject = {};
48
49
// Is an FFI module specified?
pkg/dart2wasm/lib/target.dart
@@ -69,6 +69,7 @@ class WasmTarget extends Target {
69
'dart:nativewrappers',
70
'dart:io',
71
'dart:js_interop',
72
+ 'dart:js',
73
'dart:js_util',
74
'dart:wasm',
75
'dart:developer',
0 commit comments