resources: Strip '$' and 'mw' from file closures
[lhc/web/wiklou.git] / resources / src / mediawiki.debug / debug.js
index dfb6967..f0c2601 100644 (file)
@@ -1,4 +1,4 @@
-( function ( mw, $ ) {
+( function () {
        'use strict';
 
        var debug,
                        };
 
                        for ( id in panes ) {
-                               if ( !Object.prototype.hasOwnProperty.call( panes, id ) ) {
-                                       continue;
-                               }
-
                                $( '<div>' )
                                        .prop( {
                                                className: 'mw-debug-pane',
                                        .appendTo( $table );
 
                                for ( key in data ) {
-                                       if ( !Object.prototype.hasOwnProperty.call( data, key ) ) {
-                                               continue;
-                                       }
-
                                        $( '<tr>' )
                                                .append( $( '<th>' ).text( key ) )
                                                .append( $( '<td>' ).text( data[ key ] ) )
                debug.init();
        } );
 
-}( mediaWiki, jQuery ) );
+}() );