chore: prettier

This commit is contained in:
Percs 2024-10-18 02:45:52 -05:00
parent 96412050a5
commit 0503b3a408

View file

@ -1,12 +1,12 @@
import { ScramjetClient } from "../client"; import { ScramjetClient } from "../client";
export default function (client: ScramjetClient, self: typeof window) { export default function (client: ScramjetClient, self: typeof window) {
client.Proxy("MouseEvent.prototype.initMouseEvent", { client.Proxy("MouseEvent.prototype.initMouseEvent", {
apply(ctx) { apply(ctx) {
// Proxy(Window) instanceof Window SHOULD return true. But uhh, it doesn't. // Proxy(Window) instanceof Window SHOULD return true. But uhh, it doesn't.
ctx.args[3] = self; ctx.args[3] = self;
ctx.call(); ctx.call();
}, },
}) });
} }