mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
Merge branch 'main' of https://github.com/MercuryWorkshop/scramjet
This commit is contained in:
commit
7bea0c60af
20 changed files with 359 additions and 248 deletions
|
@ -1,3 +1,11 @@
|
|||
// dumb hack to allow firefox to work (please dont do this in prod)
|
||||
if (navigator.userAgent.includes("Firefox")) {
|
||||
Object.defineProperty(globalThis, "crossOriginIsolated", {
|
||||
value: true,
|
||||
writable: false,
|
||||
});
|
||||
}
|
||||
|
||||
importScripts(
|
||||
"/scram/scramjet.wasm.js",
|
||||
"/scram/scramjet.shared.js",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue