MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / wrapTables

Function wrapTables

docs/script.js:492–504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

490
491 // Wrap tables in scrollable containers for mobile
492 const wrapTables = () => {
493 const tables = docsContent.querySelectorAll("table");
494 tables.forEach((table) => {
495 // Skip if already wrapped
496 if (table.parentElement.classList.contains("docs-table-wrapper")) return;
497
498 const wrapper = document.createElement("div");
499 wrapper.className = "docs-table-wrapper";
500
501 table.parentNode.insertBefore(wrapper, table);
502 wrapper.appendChild(table);
503 });
504 };
505
506 addCopyButtons();
507 addHeadingAnchors();

Callers 1

script.jsFile · 0.85

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected