table-sort-js
Advanced tools
Comparing version 1.15.0 to 1.15.1
{ | ||
"name": "table-sort-js", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "A JavaScript client-side HTML table sorting library with no dependencies required.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -15,3 +15,3 @@ ![table-sort-js](https://img.shields.io/npm/v/table-sort-js) | ||
- [npm package.](https://www.npmjs.com/package/table-sort-js) | ||
- [firefox browser extension](https://addons.mozilla.org/en-US/firefox/addon/table-sort-js/): Tables of any website you visit become sortable! | ||
- [Firefox](https://addons.mozilla.org/en-US/firefox/addon/table-sort-js/) and [Chrome](https://chrome.google.com/webstore/detail/table-sort-js/dioemkojkjhlhmfiocgniipejgkbfibb) browser extensions: Tables of any website you visit become sortable! | ||
@@ -18,0 +18,0 @@ ## Install instructions. |
@@ -144,3 +144,3 @@ /* | ||
columnData.push(`${dataAttributeTd}#${i}`); | ||
columnIndexAndTableRow[columnData[i]] = tr.innerHTML; | ||
columnIndexAndTableRow[columnData[i]] = tr.outerHTML; | ||
} | ||
@@ -210,3 +210,3 @@ } | ||
columnData.push(`${timeinSeconds}#${i}`); | ||
columnIndexAndTableRow[columnData[i]] = tr.innerHTML; | ||
columnIndexAndTableRow[columnData[i]] = tr.outerHTML; | ||
} | ||
@@ -249,3 +249,3 @@ } catch (e) { | ||
columnData.push(`${numberToSort}#${i}`); | ||
columnIndexAndTableRow[columnData[i]] = tr.innerHTML; | ||
columnIndexAndTableRow[columnData[i]] = tr.outerHTML; | ||
} | ||
@@ -308,3 +308,3 @@ } catch (e) { | ||
if (isFileSize) { | ||
fileSizeColumnTextAndRow[columnData[i]] = tr.innerHTML; | ||
fileSizeColumnTextAndRow[columnData[i]] = tr.outerHTML; | ||
} | ||
@@ -321,3 +321,3 @@ // These classes already handle pushing to column and setting the tr html. | ||
columnData.push(`${tdTextContent}#${i}`); | ||
columnIndexAndTableRow[`${tdTextContent}#${i}`] = tr.innerHTML; | ||
columnIndexAndTableRow[`${tdTextContent}#${i}`] = tr.outerHTML; | ||
} | ||
@@ -327,3 +327,3 @@ } else { | ||
columnData.push(`${fillValue}#${i}`); | ||
columnIndexAndTableRow[`${fillValue}#${i}`] = tr.innerHTML; | ||
columnIndexAndTableRow[`${fillValue}#${i}`] = tr.outerHTML; | ||
} | ||
@@ -432,3 +432,3 @@ } | ||
} else if (!isFileSize) { | ||
tr.innerHTML = columnIndexAndTableRow[columnData[i]]; | ||
tr.outerHTML = columnIndexAndTableRow[columnData[i]]; | ||
} | ||
@@ -435,0 +435,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26361