Function
compositionWithHeadBoundary
(boundaryContent: string)
Source from the content-addressed store, hash-verified
| 15 | } |
| 16 | |
| 17 | function compositionWithHeadBoundary(boundaryContent: string): string { |
| 18 | return ` |
| 19 | <html> |
| 20 | <head> |
| 21 | <style> |
| 22 | body { margin: 0; } |
| 23 | </style> |
| 24 | </head> |
| 25 | ${boundaryContent} |
| 26 | <body> |
| 27 | <div data-composition-id="c1" data-width="1920" data-height="1080"></div> |
| 28 | <script>window.__timelines = {};</script> |
| 29 | </body> |
| 30 | </html>`; |
| 31 | } |
| 32 | |
| 33 | function compositionWithBodyPrefix(prefixContent: string, rootContent = ""): string { |
| 34 | return ` |
Tested by
no test coverage detected