Skip to content

Commit 7ffa3f2

Browse files
committed
Core: minor code cleanup
1 parent f8d0ba2 commit 7ffa3f2

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
2+
root = true
3+
4+
[*]
5+
indent_style = tab
6+
indent_size = 2
7+
trim_trailing_whitespace = true
8+
end_of_line = lf
9+
charset = utf-8
10+
insert_final_newline = true
11+
max_line_length = 80

js/jquery.tablesorter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
widgetClass : 'widget-{name}', // table class name template to match to include a widget
7575
widgets : [], // method to add widgets, e.g. widgets: ['zebra']
7676
widgetOptions : {
77-
zebra : [ 'even', 'odd' ] // zebra widget alternating row class names
77+
zebra : [ 'even', 'odd' ] // zebra widget alternating row class names
7878
},
7979

8080
// *** callbacks
@@ -91,8 +91,8 @@
9191

9292
cssChildRow : 'tablesorter-childRow', // class name indiciating that a row is to be attached to its parent
9393
cssInfoBlock : 'tablesorter-infoOnly', // don't sort tbody with this class name (only one class name allowed here!)
94-
cssNoSort : 'tablesorter-noSort', // class name added to element inside header; clicking on it won't cause a sort
95-
cssIgnoreRow : 'tablesorter-ignoreRow', // header row to ignore; cells within this row will not be added to c.$headers
94+
cssNoSort : 'tablesorter-noSort', // class name added to element inside header; clicking on it won't cause a sort
95+
cssIgnoreRow : 'tablesorter-ignoreRow',// header row to ignore; cells within this row will not be added to c.$headers
9696

9797
cssIcon : 'tablesorter-icon', // if this class does not exist, the {icon} will not be added from the headerTemplate
9898
cssIconNone : '', // class name added to the icon when there is no column sort
@@ -106,7 +106,7 @@
106106

107107
// *** selectors
108108
selectorHeaders : '> thead th, > thead td',
109-
selectorSort : 'th, td', // jQuery selector of content within selectorHeaders that is clickable to trigger a sort
109+
selectorSort : 'th, td', // jQuery selector of content within selectorHeaders that is clickable to trigger a sort
110110
selectorRemove : '.remove-me',
111111

112112
// *** advanced

0 commit comments

Comments
 (0)