From: Krinkle Date: Sun, 26 Jun 2011 02:05:34 +0000 (+0000) Subject: Removing console.log and other ad-hoc debugging code X-Git-Tag: 1.31.0-rc.0~29276 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=b79f2ca398715860ce57e3e8352f1a3054c2264f;p=lhc%2Fweb%2Fwiklou.git Removing console.log and other ad-hoc debugging code --- diff --git a/resources/jquery/jquery.tablesorter.js b/resources/jquery/jquery.tablesorter.js index 03016fdedd..aff6644d6c 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -80,14 +80,6 @@ debug: false }; - /* debuging utils */ - // - // function benchmark( s, d ) { - // console.log( s + " " + ( new Date().getTime() - d.getTime() ) + "ms" ); - // } - // - // this.benchmark = benchmark; - // /* parsers utils */ function buildParserCache( table, $headers ) { @@ -110,9 +102,7 @@ if (p === false) { p = detectParserForColumn( table, rows, i ); } - // if ( table.config.debug ) { - // console.log( "column:" + i + " parser:" + p.id + "\n" ); - // } + list.push(p); } } @@ -299,11 +289,6 @@ table.config.headerList[index] = this; } ); - // if ( table.config.debug ) { - // benchmark( "Built headers:", time ); - // console.log( $tableHeaders ); - // } - // return $tableHeaders; } diff --git a/resources/mediawiki.action/mediawiki.action.history.js b/resources/mediawiki.action/mediawiki.action.history.js index 60cec1696c..06fb4cceeb 100644 --- a/resources/mediawiki.action/mediawiki.action.history.js +++ b/resources/mediawiki.action/mediawiki.action.history.js @@ -59,7 +59,6 @@ jQuery( function( $ ) { } var copyAttrs = ['title', 'accesskey']; $buttons.each(function() { - console.log(this); var $button = $(this), $compareLink= $( '', { 'class': 'compare-link',