MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / markPartialRow

Function markPartialRow

src/patch-streaming-html.ts:799–801  ·  view source on GitHub ↗
(rowHtml: string)

Source from the content-addressed store, hash-verified

797}
798
799function markPartialRow(rowHtml: string): string {
800 return rowHtml.replace(/^<tr/i, '<tr data-sh-partial="1"');
801}
802
803/** Promote in-progress partial row to complete instead of duplicating */
804function promoteOrAppendRows(

Callers 2

assembleTableSectionHtmlFunction · 0.85
patchPartialRowInSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected