Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -252,7 +252,7 @@ |
253 | 253 | // Resolves dynamic loader function and replaces it with it's own results |
254 | 254 | if ( typeof registry[module].dependencies === 'function' ) { |
255 | 255 | registry[module].dependencies = registry[module].dependencies(); |
256 | | - // Gaurantees the module's dependencies are always in an array |
| 256 | + // Ensures the module's dependencies are always in an array |
257 | 257 | if ( typeof registry[module].dependencies !== 'object' ) { |
258 | 258 | registry[module].dependencies = [registry[module].dependencies]; |
259 | 259 | } |
Index: trunk/phase3/resources/mediawiki/mediawiki.log.js |
— | — | @@ -45,17 +45,16 @@ |
46 | 46 | } ) |
47 | 47 | .appendTo( $( 'body' ) ); |
48 | 48 | } |
49 | | - if ( $log.length ) { |
50 | | - $log.append( |
51 | | - $( '<div>' + string + '</div>' ) |
52 | | - .css( { |
53 | | - 'border-bottom': 'solid 1px #DDDDDD', |
54 | | - 'font-size': 'small', |
55 | | - 'font-family': 'monospace', |
56 | | - 'padding': '0.125em 0.25em' |
57 | | - } ) |
58 | | - ); |
59 | | - } |
| 49 | + $log.append( |
| 50 | + $( '<div></div>' ) |
| 51 | + .text( string ) |
| 52 | + .css( { |
| 53 | + 'border-bottom': 'solid 1px #DDDDDD', |
| 54 | + 'font-size': 'small', |
| 55 | + 'font-family': 'monospace', |
| 56 | + 'padding': '0.125em 0.25em' |
| 57 | + } ) |
| 58 | + ); |
60 | 59 | } |
61 | 60 | } |
62 | 61 | } ); |