dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d0251
)
resourceloader: qualify $ variable in script() call to handle the case of jQuery
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 8 Jun 2018 00:57:10 +0000
(17:57 -0700)
committer
Krinkle
<krinklemail@gmail.com>
Fri, 15 Jun 2018 15:33:07 +0000
(15:33 +0000)
Bug: T192623
Change-Id: Id3016dfdc32bff5b5437bf5961cde8d9f6047150
resources/src/mediawiki/mediawiki.js
patch
|
blob
|
history
diff --git
a/resources/src/mediawiki/mediawiki.js
b/resources/src/mediawiki/mediawiki.js
index
ad020b5
..
4ce6ff8
100644
(file)
--- a/
resources/src/mediawiki/mediawiki.js
+++ b/
resources/src/mediawiki/mediawiki.js
@@
-1081,7
+1081,7
@@
} 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' ) {