mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 23:30:00 -04:00
fix postmessage shit
This commit is contained in:
parent
6cccf1f412
commit
d011d73a80
6 changed files with 44 additions and 36 deletions
|
@ -46,7 +46,7 @@ export class ScramjetClient {
|
|||
windowProxy: any;
|
||||
locationProxy: any;
|
||||
|
||||
eventcallbacks: WeakMap<
|
||||
eventcallbacks: Map<
|
||||
any,
|
||||
[
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ export class ScramjetClient {
|
|||
proxiedCallback: AnyFunction;
|
||||
},
|
||||
]
|
||||
> = new WeakMap();
|
||||
> = new Map();
|
||||
|
||||
constructor(public global: typeof globalThis) {
|
||||
if ("document" in self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue