Skip to content

Commit 2a9e1f3

Browse files
committed
fix(three-dissolve): set __hf fallback in outer catch for CDN failures
If CDN scripts fail to load (THREE undefined), the outer catch fires but never set window.__hf — the engine polls for it forever until the 120s CI timeout. Provide a no-op fallback so the engine sees readiness even on total init failure.
1 parent c96e371 commit 2a9e1f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

registry/blocks/three-dissolve/three-dissolve.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@
947947
renderAt(window.__hfThreeTime || 0);
948948
} catch (error) {
949949
console.error("three-dissolve init error:", error);
950+
if (!window.__hf) window.__hf = { duration: 8, seek: function () {} };
950951
resolveReady();
951952
}
952953
})();

0 commit comments

Comments
 (0)