diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..6fa1c6fab --- /dev/null +++ b/.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 diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index 20b31652d..ad6a271ed 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -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 @@ -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 @@ -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