table-sort-js
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"name": "table-sort-js", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "A JavaScript client-side HTML table sorting library with no dependencies required.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -25,5 +25,5 @@ ![table-sort-js](https://img.shields.io/npm/v/table-sort-js) | ||
Refer to the documentation for examples on using table-sort-js with frontend frameworks such as | ||
[ReactJS.](https://leewannacott.github.io/table-sort-js/docs/react.html) | ||
[React.js](https://leewannacott.github.io/table-sort-js/docs/react.html) and [Vue.js](https://leewannacott.github.io/table-sort-js/docs/vue.html) | ||
<b>Option 2.</b> [Download table-sort.js](https://leewannacott.github.io/table-sort-js/table-sort.js) (Select save as.) | ||
<b>Option 2.</b> Download [table-sort.js](https://leewannacott.github.io/table-sort-js/table-sort.js) (Select save as.), or download a [minified version](https://cdn.jsdelivr.net/npm/table-sort-js) (~5kB) | ||
@@ -36,3 +36,3 @@ Then add the following script before your HTML table: | ||
Refer to the documenation for examples how to use table-sort-js with [HTML.](https://leewannacott.github.io/table-sort-js/docs/html5.html) | ||
Refer to the documenation for examples on how to use table-sort-js with [HTML](https://leewannacott.github.io/table-sort-js/docs/html5.html) | ||
@@ -39,0 +39,0 @@ #### To make tables sortable: |
@@ -231,4 +231,4 @@ /* | ||
function clearArrows(arrowUp = "▲", arrowDown = "▼") { | ||
th.innerText = th.innerText.replace(arrowUp, ""); | ||
th.innerText = th.innerText.replace(arrowDown, ""); | ||
th.innerHTML = th.innerHTML.replace(arrowUp, ""); | ||
th.innerHTML = th.innerHTML.replace(arrowDown, ""); | ||
} | ||
@@ -235,0 +235,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
20380