mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00:02 -04:00
PERCS PLEASE FILL THIS IN dot js
This commit is contained in:
parent
6882ceff9b
commit
9bd880ac8a
9 changed files with 163 additions and 161 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue