From b79f2ca398715860ce57e3e8352f1a3054c2264f Mon Sep 17 00:00:00 2001 From: Krinkle Date: Sun, 26 Jun 2011 02:05:34 +0000 Subject: [PATCH] Removing console.log and other ad-hoc debugging code --- resources/jquery/jquery.tablesorter.js | 17 +---------------- .../mediawiki.action.history.js | 1 - 2 files changed, 1 insertion(+), 17 deletions(-) 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', -- 2.20.1