Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Remove old logging
Browse files Browse the repository at this point in the history
  • Loading branch information
powdahound committed Nov 23, 2012
1 parent a1daee3 commit fa8e464
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions www/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,17 @@ $("#cost-dropdown li").bind("click", function(e) {
change_cost(e.target.getAttribute("duration"));
});

// sorting for IO perf column
// sorting for colums with more complex data
// http://datatables.net/plug-ins/sorting#hidden_title
jQuery.extend(jQuery.fn.dataTableExt.oSort, {
"span-sort-pre": function(elem) {
var matches = elem.match(/sort="(.*?)"/);
if (matches) {
console.log(elem + " - " + parseInt(matches[1], 10));
return parseInt(matches[1], 10);
}
return 0;
},

"span-sort-asc": function(a, b) {
return ((a < b) ? -1 : ((a > b) ? 1 : 0));
},
Expand Down

0 comments on commit fa8e464

Please sign in to comment.