mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix postmessage proxy
This commit is contained in:
parent
a29e8c42a3
commit
b8334993ae
5 changed files with 34 additions and 8 deletions
|
@ -1,8 +1,8 @@
|
|||
import { isworker } from "../..";
|
||||
import { iswindow, isworker } from "../..";
|
||||
import { ScramjetClient } from "../../client";
|
||||
import { BareClient } from "../../shared";
|
||||
|
||||
const bare = new BareClient();
|
||||
const bare = iswindow && new BareClient();
|
||||
|
||||
export default function (client: ScramjetClient, self: typeof globalThis) {
|
||||
// r58 please fix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue