Skip to content

Commit 71b24e0

Browse files
Ulysse ARNAUDUlysse ARNAUD
authored andcommitted
Updated to 0.3.6
1 parent f131a6c commit 71b24e0

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

build/index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/index.min.js.gz

4 Bytes
Binary file not shown.

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,7 @@ function init() {
160160
main();
161161
}
162162
document.addEventListener('DOMContentLoaded', init);
163-
const observer = new MutationObserver(init);
164-
observer.observe(document, { attributes: true, childList: true, subtree: true });
163+
window.addEventListener('css-in-js-in-html-ready', function () {
164+
const observer = new MutationObserver(init);
165+
observer.observe(document, { attributes: true, childList: true, subtree: true });
166+
} );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ulyssear/css-in-js-in-html",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"description": "CSS-in-JS-in-HTML is a library that allows you to use CSS-in-JS with HTML only.",
55
"main": "build/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)