mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix naiiverewrite
This commit is contained in:
parent
29bef6df03
commit
696c9b3092
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export function rewriteJsNaiive(js: string | ArrayBuffer, origin?: URL) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return `
|
return `
|
||||||
with ($s(window)) {
|
with (${self.$scramjet.config.wrapfn}(globalThis)) {
|
||||||
|
|
||||||
${js}
|
${js}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue