mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Switched to unpkg.com as a CDN for tablesort
This commit is contained in:
parent
b11a4741c3
commit
e1577e6748
@ -146,7 +146,7 @@ loading] via [additional JavaScript]:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
extra_javascript:
|
extra_javascript:
|
||||||
- https://unpkg.com/browse/tablesort@5.3.0/dist/tablesort.min.js
|
- https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
|
||||||
- javascripts/tablesort.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]
|
numbers, filesizes, dates and month names. See the [tablesort documentation]
|
||||||
[tablesort] for more information.
|
[tablesort] for more information.
|
||||||
|
|
||||||
<script src="https://unpkg.com/browse/tablesort@5.3.0/dist/tablesort.min.js"></script>
|
<script src="https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var tables = document.querySelectorAll("article table")
|
var tables = document.querySelectorAll("article table")
|
||||||
new Tablesort(tables.item(tables.length - 1));
|
new Tablesort(tables.item(tables.length - 1));
|
||||||
|
@ -264,7 +264,7 @@ removed during the build process.
|
|||||||
``` { .sh id="example" }
|
``` { .sh id="example" }
|
||||||
.
|
.
|
||||||
└─ assets/externals/
|
└─ assets/externals/
|
||||||
├─ unpkg.com/browse/tablesort@5.3.0/dist/tablesort.min.js
|
├─ unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
|
||||||
├─ fonts.googleapis.com/css
|
├─ fonts.googleapis.com/css
|
||||||
├─ fonts.gstatic.com/s/
|
├─ fonts.gstatic.com/s/
|
||||||
│ ├─ roboto/v29/
|
│ ├─ roboto/v29/
|
||||||
|
Loading…
Reference in New Issue
Block a user