@bolt/core
Advanced tools
Comparing version 0.9.6 to 0.10.1
11
index.js
@@ -15,1 +15,12 @@ // Export non-Bolt dependencies shared across virtually all components | ||
export * from './polyfills/polyfill-loader'; | ||
// Util to recursively look to see if parent is a specific HTML tag | ||
export function findParentTag(el, tag) { | ||
while (el.parentNode) { | ||
el = el.parentNode; | ||
if (el.tagName === tag) | ||
return el; | ||
} | ||
return null; | ||
} |
{ | ||
"name": "@bolt/core", | ||
"description": "Core dependencies, utils, etc.", | ||
"version": "0.9.6", | ||
"version": "0.10.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -20,3 +20,3 @@ /** @jsx h */ | ||
get renderRoot() { | ||
if (hasNativeShadowDomSupport) { | ||
if (hasNativeShadowDomSupport && this.useShadow === true) { | ||
return super.renderRoot || shadow(this); | ||
@@ -23,0 +23,0 @@ } else { |
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
39000
1087