Core: minor code cleanup

This commit is contained in:
Rob Garrison 2016-09-25 20:35:29 -05:00
parent f8d0ba2495
commit 7ffa3f2785
2 changed files with 15 additions and 4 deletions

11
.editorconfig Normal file
View 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

View File

@ -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