Skip to content

Commit

Permalink
Undo accidental formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
canadaduane authored and brainkim committed Nov 7, 2023
1 parent bcd9158 commit 896d10c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const impl: Partial<RendererImpl<Node, string>> = {
}

// TODO: extract props from nodes
return { props, children };
return {props, children};
},

patch(
Expand Down Expand Up @@ -105,7 +105,7 @@ export const impl: Partial<RendererImpl<Node, string>> = {
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);
Expand Down Expand Up @@ -382,6 +382,6 @@ export const renderer = new DOMRenderer();

declare global {
module Crank {
interface EventMap extends GlobalEventHandlersEventMap { }
interface EventMap extends GlobalEventHandlersEventMap {}
}
}

0 comments on commit 896d10c

Please sign in to comment.