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

Function compositionWithBodyPrefix

packages/lint/src/rules/core.test.ts:33–49  ·  view source on GitHub ↗
(prefixContent: string, rootContent = "")

Source from the content-addressed store, hash-verified

31}
32
33function compositionWithBodyPrefix(prefixContent: string, rootContent = ""): string {
34 return `
35<html>
36<head>
37 <style>
38 body { margin: 0; }
39 </style>
40</head>
41<body>
42${prefixContent}
43 <div data-composition-id="c1" data-width="1920" data-height="1080">
44${rootContent}
45 </div>
46 <script>window.__timelines = {};</script>
47</body>
48</html>`;
49}
50
51function compositionWithImplicitBodyPrefix(prefixContent: string): string {
52 return `

Callers 1

core.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected