Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Mar 30, 2024
1 parent 8d0bd59 commit cac69aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leuffen/jodastyle",
"version": "3.1.1",
"version": "3.1.2",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.module.js",
Expand Down
1 change: 1 addition & 0 deletions src/component/joda-content-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class JodaContentElement extends HTMLElement {
for(let callback of allTemplatesConnectedCallbacks) {
await callback();
}
window.dispatchEvent(new CustomEvent("JodaContentReady", {detail: {element: this}}));
}


Expand Down
2 changes: 2 additions & 0 deletions src/processor/jodastyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export class Jodastyle {
continue;
}
child["joda-style-processed"] = true;
let origChild = child;

let style = getComputedStyle(child);
let parentStyle = null;
Expand Down Expand Up @@ -73,6 +74,7 @@ export class Jodastyle {

}
await this.process(child); // Recursive parse replaced elements

}

}
Expand Down

0 comments on commit cac69aa

Please sign in to comment.