Skip to content

Commit 1243892

Browse files
committed
add reportUndefinedSymbolsNoOp shim & sub
1 parent ba5dc4e commit 1243892

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyodide/prelude.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ import {
77
const document = undefined;
88
const location = undefined;
99
function addEventListener() {}
10+
function reportUndefinedSymbolsNoOp() {}

pyodide/sed.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
s/new WebAssembly.Module/newWasmModule/g
22
s/WebAssembly.instantiate/wasmInstantiate/g
33
s/Date.now/monotonicDateNow/g
4-
s/crypto.getRandomValues/getRandomValues/g
4+
s/crypto.getRandomValues/getRandomValues/g
5+
s/reportUndefinedSymbols()/reportUndefinedSymbolsNoOp()/g

0 commit comments

Comments
 (0)