-( 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 ) );
+}() );