Skip to content

Commit

Permalink
Core: minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Sep 26, 2016
1 parent f8d0ba2 commit 7ffa3f2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
@@ -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
8 changes: 4 additions & 4 deletions js/jquery.tablesorter.js
Expand Up @@ -74,7 +74,7 @@
widgetClass : 'widget-{name}', // table class name template to match to include a widget
widgets : [], // method to add widgets, e.g. widgets: ['zebra']
widgetOptions : {
zebra : [ 'even', 'odd' ] // zebra widget alternating row class names
zebra : [ 'even', 'odd' ] // zebra widget alternating row class names
},

// *** callbacks
Expand All @@ -91,8 +91,8 @@

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!)
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
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

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
Expand All @@ -106,7 +106,7 @@

// *** selectors
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',

// *** advanced
Expand Down

0 comments on commit 7ffa3f2

Please sign in to comment.