Removing console.log and other ad-hoc debugging code
authorKrinkle <krinkle@users.mediawiki.org>
Sun, 26 Jun 2011 02:05:34 +0000 (02:05 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sun, 26 Jun 2011 02:05:34 +0000 (02:05 +0000)
resources/jquery/jquery.tablesorter.js
resources/mediawiki.action/mediawiki.action.history.js

index 03016fd..aff6644 100644 (file)
                                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 ) {
                                                if (p === false) {
                                                        p = detectParserForColumn( table, rows, i );
                                                }
-                                               // if ( table.config.debug ) {
-                                               //     console.log( "column:" + i + " parser:" + p.id + "\n" );
-                                               // }
+
                                                list.push(p);
                                        }
                                }
                                        table.config.headerList[index] = this;
                                } );
 
-                               // if ( table.config.debug ) {
-                               //     benchmark( "Built headers:", time );
-                               //     console.log( $tableHeaders );
-                               // }
-                               // 
                                return $tableHeaders;
 
                        }
index 60cec16..06fb4cc 100644 (file)
@@ -59,7 +59,6 @@ jQuery( function( $ ) {
                }
                var copyAttrs = ['title', 'accesskey'];
                $buttons.each(function() {
-                       console.log(this);
                        var $button = $(this),
                                $compareLink= $( '<a></a>', {
                                        'class': 'compare-link',