MCPcopy Create free account
hub / github.com/cure53/DOMPurify / row

Function row

test/test-suite.js:1224–1228  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1222 const table = root.appendChild(document.createElement('table'));
1223 const tbody = document.createElement('tbody');
1224 const row = (text) => {
1225 const tr = document.createElement('tr');
1226 tr.appendChild(document.createElement('td')).textContent = text;
1227 return tr;
1228 };
1229
1230 table.appendChild(document.createTextNode('{'));
1231 table.appendChild(tbody);

Callers 1

test-suite.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected