mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
fix formatting again
This commit is contained in:
parent
774f3d5b5d
commit
ddaea9b86a
36 changed files with 1720 additions and 1720 deletions
|
@ -2,15 +2,15 @@ import { BareClient } from "../shared";
|
|||
const client = new BareClient();
|
||||
|
||||
WebSocket = new Proxy(WebSocket, {
|
||||
construct(target, args) {
|
||||
return client.createWebSocket(
|
||||
args[0],
|
||||
args[1],
|
||||
target,
|
||||
{
|
||||
"User-Agent": navigator.userAgent,
|
||||
},
|
||||
ArrayBuffer.prototype,
|
||||
);
|
||||
},
|
||||
construct(target, args) {
|
||||
return client.createWebSocket(
|
||||
args[0],
|
||||
args[1],
|
||||
target,
|
||||
{
|
||||
"User-Agent": navigator.userAgent,
|
||||
},
|
||||
ArrayBuffer.prototype
|
||||
);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue