@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/public-server.js
CHANGED
|
@@ -105750,6 +105750,13 @@ function inlineSubCompositions(html, subCompositions, projectDir) {
|
|
|
105750
105750
|
host.innerHTML = contentDoc.toString();
|
|
105751
105751
|
}
|
|
105752
105752
|
host.removeAttribute("data-composition-src");
|
|
105753
|
+
const hostDataStart = host.getAttribute("data-start");
|
|
105754
|
+
if (hostDataStart != null) {
|
|
105755
|
+
const innerComp = host.querySelector("[data-composition-id]");
|
|
105756
|
+
if (innerComp && !innerComp.getAttribute("data-start")) {
|
|
105757
|
+
innerComp.setAttribute("data-start", hostDataStart);
|
|
105758
|
+
}
|
|
105759
|
+
}
|
|
105753
105760
|
const hostW = host.getAttribute("data-width");
|
|
105754
105761
|
const hostH = host.getAttribute("data-height");
|
|
105755
105762
|
if (hostW && hostH) {
|