Lines Matching +full:i +full:- +full:mobile

1 …is JS compressor does not support ASI. To be compressed with https://closure-compiler.appspot.com/…
11 const parseColumnIndex = options.parseColumnIndex || (node => -1)
13 …// Special schema values that are not repeated on the mobile table. Instead a cell with colspan = …
28 …// Creates an array of header cells that can be cloned for each "row" of the mobile version of the…
34 let i = 0
42 if (i === columnIndex) {
52 i = i + 1
157 const header = (columnIndex !== -1) ? addRow(tbody) : null
160 let i = 0
166 if (rowSpans[i] > 0) {
167 rowSpans[i] = rowSpans[i] - 1
169 i = i + 1
173 if (row.children[i - colOffset] === undefined) {
179 if (i === columnIndex) {
181 addHeaderCell(header, row.children[i - colOffset])
188 const colSpan = row.children[i - colOffset].colSpan
189 rowSpans[i] = row.children[i - colOffset].rowSpan - 1
192 … const newCell = addCell(tr, row.children[i - colOffset], name === hiddenHeading)
196 rowSpan = (rowSpan === 1) ? colSpan : rowSpan - 1
202 i = i + 1
222 if (tableMap.has(table) || table.classList.contains("mobiletable-transformed")) {
228 // Create the mobile table.
230 const mobile = buildTable(table, extractSchema(table, columnIndex))
233 tableMap.set(mobile, table)
234 dummy.replaceWith(mobile)
236 mobile.classList.add("mobiletable-transformed")
282 const index = parseInt(node.parentElement.parentElement.getAttribute("data-column"), 10)
283 return (isNaN(index) || index < 0) ? -1 : index
300 if (window.mobileTables(before === "mobile") && window.location.hash) {