mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 23:10:02 -04:00
chore: prettier
This commit is contained in:
parent
96412050a5
commit
0503b3a408
1 changed files with 9 additions and 9 deletions
|
@ -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();
|
||||||
},
|
},
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue