Skip to content

Commit 72ca9d3

Browse files
committed
whitespace, also rename .pm to .pm6
1 parent 6064ab6 commit 72ca9d3

File tree

6 files changed

+54
-58
lines changed

6 files changed

+54
-58
lines changed

.github/issue_template.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121
example program that actually runs".
2222
2323
-->
24-

.github/pull_request_template.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@
1515
problem.
1616
1717
-->
18-
19-

assets/js/jquery-ui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/jquery.tablesorter.js

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,111 @@
11
/*
2-
*
2+
*
33
* TableSorter 2.0 - Client-side table sorting with ease!
44
* Version 2.0.5b
55
* @requires jQuery v1.2.3
6-
*
6+
*
77
* Copyright (c) 2007 Christian Bach
88
* Examples and docs at: http://tablesorter.com
99
* Dual licensed under the MIT and GPL licenses:
1010
* http://www.opensource.org/licenses/mit-license.php
1111
* http://www.gnu.org/licenses/gpl.html
12-
*
12+
*
1313
*/
1414
/**
15-
*
15+
*
1616
* @description Create a sortable table with multi-column sorting capabilitys
17-
*
17+
*
1818
* @example $('table').tablesorter();
1919
* @desc Create a simple tablesorter interface.
20-
*
20+
*
2121
* @example $('table').tablesorter({ sortList:[[0,0],[1,0]] });
2222
* @desc Create a tablesorter interface and sort on the first and secound column column headers.
23-
*
23+
*
2424
* @example $('table').tablesorter({ headers: { 0: { sorter: false}, 1: {sorter: false} } });
25-
*
25+
*
2626
* @desc Create a tablesorter interface and disableing the first and second column headers.
27-
*
28-
*
27+
*
28+
*
2929
* @example $('table').tablesorter({ headers: { 0: {sorter:"integer"}, 1: {sorter:"currency"} } });
30-
*
30+
*
3131
* @desc Create a tablesorter interface and set a column parser for the first
3232
* and second column.
33-
*
34-
*
33+
*
34+
*
3535
* @param Object
3636
* settings An object literal containing key/value pairs to provide
3737
* optional settings.
38-
*
39-
*
38+
*
39+
*
4040
* @option String cssHeader (optional) A string of the class name to be appended
4141
* to sortable tr elements in the thead of the table. Default value:
4242
* "header"
43-
*
43+
*
4444
* @option String cssAsc (optional) A string of the class name to be appended to
4545
* sortable tr elements in the thead on a ascending sort. Default value:
4646
* "headerSortUp"
47-
*
47+
*
4848
* @option String cssDesc (optional) A string of the class name to be appended
4949
* to sortable tr elements in the thead on a descending sort. Default
5050
* value: "headerSortDown"
51-
*
51+
*
5252
* @option String sortInitialOrder (optional) A string of the inital sorting
5353
* order can be asc or desc. Default value: "asc"
54-
*
54+
*
5555
* @option String sortMultisortKey (optional) A string of the multi-column sort
5656
* key. Default value: "shiftKey"
57-
*
57+
*
5858
* @option String textExtraction (optional) A string of the text-extraction
5959
* method to use. For complex html structures inside td cell set this
6060
* option to "complex", on large tables the complex option can be slow.
6161
* Default value: "simple"
62-
*
62+
*
6363
* @option Object headers (optional) An object of instructions for per-column
64-
* controls in the format: headers: { 0: { option: setting }, ... }. For
64+
* controls in the format: headers: { 0: { option: setting }, ... }. For
6565
* example, to disable sorting on the first two columns of a table:
6666
* headers: { 0: { sorter: false}, 1: {sorter: false} }.
6767
* Default value: null.
68-
*
69-
* @option Array sortList (optional) An array of instructions for per-column sorting
70-
* and direction in the format: [[columnIndex, sortDirection], ... ] where
71-
* columnIndex is a zero-based index for your columns left-to-right and
72-
* sortDirection is 0 for Ascending and 1 for Descending. A valid argument
73-
* that sorts ascending first by column 1 and then column 2 looks like:
68+
*
69+
* @option Array sortList (optional) An array of instructions for per-column sorting
70+
* and direction in the format: [[columnIndex, sortDirection], ... ] where
71+
* columnIndex is a zero-based index for your columns left-to-right and
72+
* sortDirection is 0 for Ascending and 1 for Descending. A valid argument
73+
* that sorts ascending first by column 1 and then column 2 looks like:
7474
* [[0,0],[1,0]]. Default value: null.
75-
*
75+
*
7676
* @option Array sortForce (optional) An array containing forced sorting rules.
7777
* Use to add an additional forced sort that will be appended to the dynamic
7878
* selections by the user. For example, can be used to sort people alphabetically
79-
* after some other user-selected sort that results in rows with the same value
80-
* like dates or money due. It can help prevent data from appearing as though it
79+
* after some other user-selected sort that results in rows with the same value
80+
* like dates or money due. It can help prevent data from appearing as though it
8181
* has a random secondary sort. Default value: null.
82-
*
82+
*
8383
* @option Boolean sortLocaleCompare (optional) Boolean flag indicating whatever
8484
* to use String.localeCampare method or not. Default set to true.
85-
*
86-
*
85+
*
86+
*
8787
* @option Array sortAppend (optional) An array containing forced sorting rules.
8888
* This option let's you specify a default sorting rule, which is
8989
* appended to user-selected rules. Default value: null
90-
*
90+
*
9191
* @option Boolean widthFixed (optional) Boolean flag indicating if tablesorter
9292
* should apply fixed widths to the table columns. This is usefull when
9393
* using the pager companion plugin. This options requires the dimension
9494
* jquery plugin. Default value: false
95-
*
95+
*
9696
* @option Boolean cancelSelection (optional) Boolean flag indicating if
9797
* tablesorter should cancel selection of the table headers text.
9898
* Default value: true
99-
*
99+
*
100100
* @option Boolean debug (optional) Boolean flag indicating if tablesorter
101101
* should display debuging information usefull for development.
102-
*
102+
*
103103
* @type jQuery
104-
*
104+
*
105105
* @name tablesorter
106-
*
106+
*
107107
* @cat Plugins/Tablesorter
108-
*
108+
*
109109
* @author Christian Bach/christian.bach@polyester.se
110110
*/
111111

@@ -300,9 +300,9 @@
300300
};
301301

302302
function getElementText(config, node) {
303-
303+
304304
if (!node) return "";
305-
305+
306306
var $node = $(node),
307307
data = $node.attr('data-sort-value');
308308
if (data !== undefined) return data;
@@ -359,7 +359,7 @@
359359
tableBody[0].appendChild(r[pos][j]);
360360
}
361361

362-
//
362+
//
363363
}
364364
}
365365

@@ -393,16 +393,16 @@
393393
}
394394

395395
var meta = ($.metadata) ? true : false;
396-
396+
397397
var header_index = computeTableHeaderCellIndexes(table);
398398

399399
var $tableHeaders = $(table.config.selectorHeaders, table).each(function (index) {
400400

401401
this.column = header_index[this.parentNode.rowIndex + "-" + this.cellIndex];
402402
// this.column = index;
403403
this.order = formatSortingOrder(table.config.sortInitialOrder);
404-
405-
404+
405+
406406
this.count = this.order;
407407

408408
if (checkHeaderMetadata(this) || checkHeaderOptions(table, index)) this.sortDisabled = true;
@@ -505,12 +505,12 @@
505505
};
506506
return false;
507507
}
508-
508+
509509
function checkHeaderOptionsSortingLocked(table, i) {
510510
if ((table.config.headers[i]) && (table.config.headers[i].lockedOrder)) return table.config.headers[i].lockedOrder;
511511
return false;
512512
}
513-
513+
514514
function applyWidget(table) {
515515
var c = table.config.widgets;
516516
var l = c.length;
@@ -588,7 +588,7 @@
588588
}
589589

590590
/* sorting methods */
591-
591+
592592
var sortWrapper;
593593

594594
function multisort(table, sortList, cache) {
@@ -741,7 +741,7 @@
741741
this.order = this.count++ % 2;
742742
// always sort on the locked order.
743743
if(this.lockedOrder) this.order = this.lockedOrder;
744-
744+
745745
// user only whants to sort on one
746746
// column
747747
if (!e[config.sortMultiSortKey]) {
@@ -988,9 +988,9 @@
988988
if (c.dateFormat == "us") {
989989
// reformat the string in ISO format
990990
s = s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/, "$3/$1/$2");
991-
}
991+
}
992992
if (c.dateFormat == "pt") {
993-
s = s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/, "$3/$2/$1");
993+
s = s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/, "$3/$2/$1");
994994
} else if (c.dateFormat == "uk") {
995995
// reformat the string in ISO format
996996
s = s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/, "$3/$2/$1");

doc/Programs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ Attention contributors
44
Files in this directory are sorted by file name to generate the index
55
for the "Programs" tab (in contrast to the other tabs which are
66
indexed in order by each file's "=TITLE" entry).
7-
File renamed without changes.

0 commit comments

Comments
 (0)