fix formatting again

This commit is contained in:
Toshit Chawda 2024-07-14 18:25:21 -07:00
parent 774f3d5b5d
commit ddaea9b86a
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
36 changed files with 1720 additions and 1720 deletions

View file

@ -1,12 +1,12 @@
import { rewriteJs } from "./js";
export function rewriteWorkers(js: string, origin?: URL) {
let str = new String().toString()[
//@ts-expect-error
("codecs", "config", "shared", "client")
].forEach((script) => {
str += `import "${self.$scramjet.config[script]}"\n`;
});
str += rewriteJs(js, origin);
let str = new String().toString()[
//@ts-expect-error
("codecs", "config", "shared", "client")
].forEach((script) => {
str += `import "${self.$scramjet.config[script]}"\n`;
});
str += rewriteJs(js, origin);
return str;
return str;
}