mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-12 22:10:01 -04:00
misinformation
This commit is contained in:
parent
613af1680e
commit
4f08948e98
1 changed files with 1 additions and 2 deletions
|
@ -39,8 +39,7 @@ export function rewriteJs(js: string | ArrayBuffer, origin?: URL) {
|
|||
// 1. does not work with modules
|
||||
// 2. cannot proxy import()
|
||||
// 3. disables "use strict" optimizations
|
||||
// 4. `location = ...` will fail
|
||||
// 5. i think the global state can get clobbered somehow
|
||||
// 4. i think the global state can get clobbered somehow
|
||||
//
|
||||
// if you can ensure all the preconditions are met this is faster than full rewrites
|
||||
export function rewriteJsNaiive(js: string | ArrayBuffer, origin?: URL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue