http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90812
Revision: 90812
Author: krinkle
Date: 2011-06-26 02:05:34 +0000 (Sun, 26 Jun 2011)
Log Message:
-----------
Removing console.log and other ad-hoc debugging code
Modified Paths:
--------------
trunk/phase3/resources/jquery/jquery.tablesorter.js
trunk/phase3/resources/mediawiki.action/mediawiki.action.history.js
Modified: trunk/phase3/resources/jquery/jquery.tablesorter.js
===================================================================
--- trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-26 01:10:56 UTC
(rev 90811)
+++ trunk/phase3/resources/jquery/jquery.tablesorter.js 2011-06-26 02:05:34 UTC
(rev 90812)
@@ -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;
}
Modified: trunk/phase3/resources/mediawiki.action/mediawiki.action.history.js
===================================================================
--- trunk/phase3/resources/mediawiki.action/mediawiki.action.history.js
2011-06-26 01:10:56 UTC (rev 90811)
+++ trunk/phase3/resources/mediawiki.action/mediawiki.action.history.js
2011-06-26 02:05:34 UTC (rev 90812)
@@ -59,7 +59,6 @@
}
var copyAttrs = ['title', 'accesskey'];
$buttons.each(function() {
- console.log(this);
var $button = $(this),
$compareLink= $( '<a></a>', {
'class': 'compare-link',
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs