mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Docs: List all contained parsers. Fixes #1484
This commit is contained in:
parent
9a676efeeb
commit
faf8c49231
@ -105,7 +105,7 @@ $('table').tablesorter({
|
|||||||
<link rel="stylesheet" href="../css/theme.blue.css">
|
<link rel="stylesheet" href="../css/theme.blue.css">
|
||||||
<script src="../js/jquery.tablesorter.js"></script>
|
<script src="../js/jquery.tablesorter.js"></script>
|
||||||
|
|
||||||
<!-- load ipv6 parser -->
|
<!-- load mac, ipv4 and ipv6 parsers -->
|
||||||
<script src="../js/parsers/parser-network.js"></script>
|
<script src="../js/parsers/parser-network.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
@ -116,8 +116,8 @@ $(function() {
|
|||||||
sortList: [[1, 0]],
|
sortList: [[1, 0]],
|
||||||
headers: {
|
headers: {
|
||||||
1: { sorter: 'MAC' },
|
1: { sorter: 'MAC' },
|
||||||
// 2: { sorter: 'ipAddress' }, this parser is auto-detected
|
// 2: { sorter: 'ipAddress' }, this parser is auto-detected (alias for 'ipv4Address')
|
||||||
3: { sorter: 'ipv6Address' }
|
3: { sorter: 'ipv6Address' } // this parser is also auto-detected
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user