From 0af6cceec6f8eb58b5103587f8326bef4b105792 Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:17:58 -0500 Subject: [PATCH] chore: prettier --- src/client/dom/element.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/client/dom/element.ts b/src/client/dom/element.ts index a657afe..1b51655 100644 --- a/src/client/dom/element.ts +++ b/src/client/dom/element.ts @@ -213,11 +213,9 @@ export default function (client: ScramjetClient, self: typeof window) { }, get(ctx) { if (ctx.this instanceof self.HTMLScriptElement) { - - const scriptSource = client.natives["Element.prototype.getAttribute"].call( - ctx.this, - "data-scramjet-script-source-src" - ) + const scriptSource = client.natives[ + "Element.prototype.getAttribute" + ].call(ctx.this, "data-scramjet-script-source-src"); if (scriptSource) { return atob(scriptSource); @@ -252,7 +250,7 @@ export default function (client: ScramjetClient, self: typeof window) { false ); }, - }) + }); client.Trap("HTMLIFrameElement.prototype.contentWindow", { get(ctx) {