mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Core: minor code cleanup
This commit is contained in:
parent
f8d0ba2495
commit
7ffa3f2785
11
.editorconfig
Normal file
11
.editorconfig
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 2
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
insert_final_newline = true
|
||||||
|
max_line_length = 80
|
@ -74,7 +74,7 @@
|
|||||||
widgetClass : 'widget-{name}', // table class name template to match to include a widget
|
widgetClass : 'widget-{name}', // table class name template to match to include a widget
|
||||||
widgets : [], // method to add widgets, e.g. widgets: ['zebra']
|
widgets : [], // method to add widgets, e.g. widgets: ['zebra']
|
||||||
widgetOptions : {
|
widgetOptions : {
|
||||||
zebra : [ 'even', 'odd' ] // zebra widget alternating row class names
|
zebra : [ 'even', 'odd' ] // zebra widget alternating row class names
|
||||||
},
|
},
|
||||||
|
|
||||||
// *** callbacks
|
// *** callbacks
|
||||||
@ -91,8 +91,8 @@
|
|||||||
|
|
||||||
cssChildRow : 'tablesorter-childRow', // class name indiciating that a row is to be attached to its parent
|
cssChildRow : 'tablesorter-childRow', // class name indiciating that a row is to be attached to its parent
|
||||||
cssInfoBlock : 'tablesorter-infoOnly', // don't sort tbody with this class name (only one class name allowed here!)
|
cssInfoBlock : 'tablesorter-infoOnly', // don't sort tbody with this class name (only one class name allowed here!)
|
||||||
cssNoSort : 'tablesorter-noSort', // class name added to element inside header; clicking on it won't cause a sort
|
cssNoSort : 'tablesorter-noSort', // class name added to element inside header; clicking on it won't cause a sort
|
||||||
cssIgnoreRow : 'tablesorter-ignoreRow', // header row to ignore; cells within this row will not be added to c.$headers
|
cssIgnoreRow : 'tablesorter-ignoreRow',// header row to ignore; cells within this row will not be added to c.$headers
|
||||||
|
|
||||||
cssIcon : 'tablesorter-icon', // if this class does not exist, the {icon} will not be added from the headerTemplate
|
cssIcon : 'tablesorter-icon', // if this class does not exist, the {icon} will not be added from the headerTemplate
|
||||||
cssIconNone : '', // class name added to the icon when there is no column sort
|
cssIconNone : '', // class name added to the icon when there is no column sort
|
||||||
@ -106,7 +106,7 @@
|
|||||||
|
|
||||||
// *** selectors
|
// *** selectors
|
||||||
selectorHeaders : '> thead th, > thead td',
|
selectorHeaders : '> thead th, > thead td',
|
||||||
selectorSort : 'th, td', // jQuery selector of content within selectorHeaders that is clickable to trigger a sort
|
selectorSort : 'th, td', // jQuery selector of content within selectorHeaders that is clickable to trigger a sort
|
||||||
selectorRemove : '.remove-me',
|
selectorRemove : '.remove-me',
|
||||||
|
|
||||||
// *** advanced
|
// *** advanced
|
||||||
|
Loading…
Reference in New Issue
Block a user