Bug: T192623
Change-Id: Id3016dfdc32bff5b5437bf5961cde8d9f6047150
} else if ( typeof script === 'function' ) {
// Pass jQuery twice so that the signature of the closure which wraps
// the script can bind both '$' and 'jQuery'.
} else if ( typeof script === 'function' ) {
// Pass jQuery twice so that the signature of the closure which wraps
// the script can bind both '$' and 'jQuery'.
- script( $, $, mw.loader.require, registry[ module ].module );
+ script( window.$, window.$, mw.loader.require, registry[ module ].module );
markModuleReady();
} else if ( typeof script === 'string' ) {
markModuleReady();
} else if ( typeof script === 'string' ) {