@hyperframes/producer 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -105585,6 +105585,13 @@ function inlineSubCompositions(html, subCompositions, projectDir) {
|
|
|
105585
105585
|
host.innerHTML = contentDoc.toString();
|
|
105586
105586
|
}
|
|
105587
105587
|
host.removeAttribute("data-composition-src");
|
|
105588
|
+
const hostDataStart = host.getAttribute("data-start");
|
|
105589
|
+
if (hostDataStart != null) {
|
|
105590
|
+
const innerComp = host.querySelector("[data-composition-id]");
|
|
105591
|
+
if (innerComp && !innerComp.getAttribute("data-start")) {
|
|
105592
|
+
innerComp.setAttribute("data-start", hostDataStart);
|
|
105593
|
+
}
|
|
105594
|
+
}
|
|
105588
105595
|
const hostW = host.getAttribute("data-width");
|
|
105589
105596
|
const hostH = host.getAttribute("data-height");
|
|
105590
105597
|
if (hostW && hostH) {
|