r92254 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92253‎ | r92254 | r92255 >
Date:17:32, 15 July 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small JS tweak
Modified paths:
  • /trunk/extensions/Maps/includes/ext.maps.common.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/includes/ext.maps.common.js
@@ -8,7 +8,7 @@
99 * @licence GNU GPL v3+
1010 * @author Jeroen De Dauw <jeroendedauw at gmail dot com>
1111 */
12 -window.maps = new ( function( $ ) {
 12+window.maps = new ( function( $, mw ) {
1313
1414 this.log = function( message ) {
1515 if ( mw.config.get( 'egMapsDebugJS' ) ) {
@@ -16,4 +16,4 @@
1717 }
1818 };
1919
20 -} )( jQuery );
\ No newline at end of file
 20+} )( jQuery, mediaWiki );
\ No newline at end of file