PERCS PLEASE FILL THIS IN dot js

This commit is contained in:
Toshit Chawda 2024-10-29 20:34:22 -07:00
parent 6882ceff9b
commit 9bd880ac8a
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
9 changed files with 163 additions and 161 deletions

View file

@ -8,7 +8,7 @@ export default function (client: ScramjetClient, self: Self) {
value: function (js: any) {
if (typeof js !== "string") return js;
const rewritten = rewriteJs(js, client.meta);
const rewritten = rewriteJs(js, null, client.meta);
return rewritten;
},
@ -23,5 +23,5 @@ export function indirectEval(this: ScramjetClient, js: any) {
const indirection = this.global.eval;
return indirection(rewriteJs(js, this.meta) as string);
return indirection(rewriteJs(js, null, this.meta) as string);
}