@fastkit/helpers
Advanced tools
Comparing version 0.6.10 to 0.6.11
@@ -455,3 +455,7 @@ 'use strict'; | ||
function pushDynamicStyle(styleContent) { | ||
return; | ||
if (!IN_WINDOW) | ||
return; | ||
const style = document.createElement('style'); | ||
style.innerHTML = styleContent; | ||
document.head.appendChild(style); | ||
} | ||
@@ -458,0 +462,0 @@ function addTransitionEvent(type, el, handler, opts) { |
@@ -455,3 +455,7 @@ 'use strict'; | ||
function pushDynamicStyle(styleContent) { | ||
return; | ||
if (!IN_WINDOW) | ||
return; | ||
const style = document.createElement('style'); | ||
style.innerHTML = styleContent; | ||
document.head.appendChild(style); | ||
} | ||
@@ -458,0 +462,0 @@ function addTransitionEvent(type, el, handler, opts) { |
@@ -451,3 +451,3 @@ function toInt(value) { | ||
function pushDynamicStyle(styleContent) { | ||
if (!(typeof document !== 'undefined')) | ||
if (!IN_WINDOW) | ||
return; | ||
@@ -454,0 +454,0 @@ const style = document.createElement('style'); |
{ | ||
"name": "@fastkit/helpers", | ||
"version": "0.6.10", | ||
"version": "0.6.11", | ||
"description": "@fastkit/helpers", | ||
@@ -5,0 +5,0 @@ "buildOptions": { |
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
74747
82
2124