@reshadow/core
Advanced tools
Comparing version 0.0.1-alpha.71 to 0.0.1-alpha.74
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.0.1-alpha.74](https://github.com/lttb/reshadow/compare/v0.0.1-alpha.73...v0.0.1-alpha.74) (2020-02-11) | ||
**Note:** Version bump only for package @reshadow/core | ||
## [0.0.1-alpha.71](https://github.com/lttb/reshadow/compare/v0.0.1-alpha.70...v0.0.1-alpha.71) (2019-10-24) | ||
@@ -8,0 +16,0 @@ |
13
index.js
@@ -117,2 +117,6 @@ "use strict"; | ||
var appendChildToDocumentHead = function appendChildToDocumentHead(element) { | ||
return document.head.appendChild(element); | ||
}; | ||
var css = function css(code, hash) { | ||
@@ -131,3 +135,10 @@ var id = "reshadow-".concat(hash); | ||
container.id = RESHADOW_ID; | ||
document.head.appendChild(container); | ||
if (document.head) { | ||
appendChildToDocumentHead(container); | ||
} else { | ||
document.addEventListener('DOMContentLoaded', function () { | ||
appendChildToDocumentHead(container); | ||
}); | ||
} | ||
} | ||
@@ -134,0 +145,0 @@ |
{ | ||
"name": "@reshadow/core", | ||
"version": "0.0.1-alpha.71", | ||
"version": "0.0.1-alpha.74", | ||
"description": "reshadow core runtime", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15757
247