File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export default class JsExecutor {
130
130
jsCode ,
131
131
wasmCode ,
132
132
) ;
133
- await exports . instantiate ( imports ) ;
133
+ await exports . instantiate ( { "playground.master" : imports } ) ;
134
134
const bufferedOutput = output ?? exports . bufferedOutput ;
135
135
const outputString = bufferedOutput . buffer ;
136
136
bufferedOutput . buffer = '' ;
@@ -218,7 +218,7 @@ export default class JsExecutor {
218
218
// necessary to load stdlib.wasm before its initialization to parallelize
219
219
// language=JavaScript
220
220
( `const stdlibWasm = fetch('${ API_URLS . STDLIB_WASM ( hash ) } ');\n` + script ) . replace (
221
- "fetch(new URL('./stdlib .wasm',import.meta.url).href)" ,
221
+ "fetch(new URL('./stdlib_master .wasm',import.meta.url).href)" ,
222
222
"stdlibWasm"
223
223
) . replace (
224
224
"(extends) => { return { extends }; }" ,
@@ -235,7 +235,7 @@ export default class JsExecutor {
235
235
this . stdlibExports = Promise . all ( [ skikoExports , stdlibExports ] )
236
236
. then ( async ( [ skikoExportsResult , stdlibExportsResult ] ) => {
237
237
return [
238
- await stdlibExportsResult . stdlib ( {
238
+ await stdlibExportsResult . instantiate ( {
239
239
"./skiko.mjs" : skikoExportsResult
240
240
} ) ,
241
241
stdlibExportsResult
You can’t perform that action at this time.
0 commit comments