mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 15:40:02 -04:00
use js function to encode
This commit is contained in:
parent
11a0c09179
commit
eebefbc070
7 changed files with 41 additions and 17 deletions
|
@ -36,5 +36,6 @@ const tasks = {
|
|||
};
|
||||
|
||||
function taskRewriteJs(js: ArrayBuffer, origin: string): string {
|
||||
return rewriteJs(js, new URL(origin));
|
||||
// idk how to get the codec from here
|
||||
return rewriteJs(js, new URL(origin), () => {});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue