@stencil/vue-output-target
Advanced tools
Comparing version 0.5.0-2 to 0.5.0-3
{ | ||
"name": "@stencil/vue-output-target", | ||
"version": "0.5.0-2", | ||
"version": "0.5.0-3", | ||
"description": "Vue output target for @stencil/core components.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -53,16 +53,12 @@ import { VNode, defineComponent, getCurrentInstance, h, inject, ref, Ref } from 'vue'; | ||
*/ | ||
if ( | ||
customElement !== undefined && | ||
typeof customElements !== 'undefined' && | ||
!customElements.get(name) | ||
) { | ||
customElements.define(name, customElement); | ||
} | ||
const Container = defineComponent<Props & InputProps>((props, { attrs, slots, emit }) => { | ||
/** | ||
* If importing custom elements, register it | ||
* with the custom elements registry only if | ||
* it has not already been registered. | ||
*/ | ||
if ( | ||
customElement !== undefined && | ||
typeof customElements !== 'undefined' && | ||
!customElements.get(name) | ||
) { | ||
customElements.define(name, customElement); | ||
} | ||
let modelPropValue = (props as any)[modelProp]; | ||
@@ -69,0 +65,0 @@ const containerRef = ref<HTMLElement>(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47246
963