Lines Matching refs:table
29 const extractSchema = (table, columnIndex) => {
33 const row = table.querySelector("tr")
127 const buildTable = (table, schema) => {
131 const newTable = table.cloneNode(false)
132 const tbody = table.querySelector("tbody").cloneNode(false)
141 for (let row of table.querySelectorAll("tr")) {
209 const replaceWithDummy = table => {
212 table.replaceWith(dummy)
221 for (let table of tables) {
222 if (tableMap.has(table) || table.classList.contains("mobiletable-transformed")) {
226 const columnIndex = parseColumnIndex(table)
229 const dummy = replaceWithDummy(table)
230 const mobile = buildTable(table, extractSchema(table, columnIndex))
233 tableMap.set(mobile, table)
249 for (let table of tables) {
250 const original = tableMap.get(table)
258 const dummy = replaceWithDummy(table)