1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00

Switched to unpkg.com as a CDN for tablesort

This commit is contained in:
squidfunk 2022-04-04 09:40:31 +02:00
parent 92dc0375dc
commit b11a4741c3
2 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ loading] via [additional JavaScript]:
``` yaml
extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.3.0/tablesort.min.js
- https://unpkg.com/browse/tablesort@5.3.0/dist/tablesort.min.js
- javascripts/tablesort.js
```
@ -175,7 +175,7 @@ Note that [tablesort] provides alternative comparison implementations like
numbers, filesizes, dates and month names. See the [tablesort documentation]
[tablesort] for more information.
<script src="https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.3.0/tablesort.min.js"></script>
<script src="https://unpkg.com/browse/tablesort@5.3.0/dist/tablesort.min.js"></script>
<script>
var tables = document.querySelectorAll("article table")
new Tablesort(tables.item(tables.length - 1));

View File

@ -264,7 +264,7 @@ removed during the build process.
``` { .sh id="example" }
.
└─ assets/externals/
├─ cdnjs.cloudflare.com/ajax/tablesort/5.3.0/tablesort.min.js
├─ unpkg.com/browse/tablesort@5.3.0/dist/tablesort.min.js
├─ fonts.googleapis.com/css
├─ fonts.gstatic.com/s/
│ ├─ roboto/v29/