From 896d10cadda7e969bde72a48db6aa7247f786ed8 Mon Sep 17 00:00:00 2001 From: Duane Johnson Date: Tue, 7 Nov 2023 09:49:44 -0700 Subject: [PATCH] Undo accidental formatting --- src/dom.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dom.ts b/src/dom.ts index 20759b78..f39cedaf 100644 --- a/src/dom.ts +++ b/src/dom.ts @@ -73,7 +73,7 @@ export const impl: Partial> = { } // TODO: extract props from nodes - return { props, children }; + return {props, children}; }, patch( @@ -105,7 +105,7 @@ export const impl: Partial> = { style.cssText = ""; } - for (const styleName in { ...(oldValue as {}), ...(value as {}) }) { + for (const styleName in {...(oldValue as {}), ...(value as {})}) { const styleValue = value && (value as any)[styleName]; if (styleValue == null) { style.removeProperty(styleName); @@ -382,6 +382,6 @@ export const renderer = new DOMRenderer(); declare global { module Crank { - interface EventMap extends GlobalEventHandlersEventMap { } + interface EventMap extends GlobalEventHandlersEventMap {} } }