MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / bootstrapHyperframeRuntime

Function bootstrapHyperframeRuntime

packages/core/src/runtime/entry.ts:25–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23};
24
25function bootstrapHyperframeRuntime(): void {
26 const win = window as HyperframeWindow;
27 if (win.__hyperframeRuntimeBootstrapped) {
28 return;
29 }
30 win.__hyperframeRuntimeBootstrapped = true;
31 initSandboxRuntimeModular();
32}
33
34if (document.readyState === "loading") {
35 document.addEventListener("DOMContentLoaded", bootstrapHyperframeRuntime, { once: true });

Callers 1

entry.tsFile · 0.85

Calls 1

Tested by

no test coverage detected