diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index f621a137e2..3dfb4fd275 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -160,9 +160,6 @@ export default class Component { } this.tag = this.component_options.tag || compile_options.tag; this.compile_options.shadowDom = this.component_options.shadowdom || "open"; - if(this.compile_options.shadowDom === "none"){ - // handle slots here? - } } else { this.tag = this.name.name; } diff --git a/src/compiler/compile/render_dom/index.ts b/src/compiler/compile/render_dom/index.ts index 8aaf68dc45..1dcffff056 100644 --- a/src/compiler/compile/render_dom/index.ts +++ b/src/compiler/compile/render_dom/index.ts @@ -484,7 +484,7 @@ export default function dom( }); } - if(lightDom){ + if (lightDom) { declaration.body.body.push({ type: 'MethodDefinition', kind: 'method',