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:
cd311a1
)
(bug 27970) Wrong variable name, dependencies -> modules
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 10 Mar 2011 15:12:36 +0000
(15:12 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 10 Mar 2011 15:12:36 +0000
(15:12 +0000)
resources/mediawiki/mediawiki.js
patch
|
blob
|
history
diff --git
a/resources/mediawiki/mediawiki.js
b/resources/mediawiki/mediawiki.js
index
5c842cd
..
893e4e4
100644
(file)
--- a/
resources/mediawiki/mediawiki.js
+++ b/
resources/mediawiki/mediawiki.js
@@
-1015,8
+1015,8
@@
window.mediaWiki = new ( function( $ ) {
this.load = function( modules, type ) {
// Validate input
if ( typeof modules !== 'object' && typeof modules !== 'string' ) {
- throw new Error( '
dependenci
es must be a string or an array, not a ' +
- typeof
dependenci
es )
+ throw new Error( '
modul
es must be a string or an array, not a ' +
+ typeof
modul
es )
}
// Allow calling with an external script or single dependency as a string
if ( typeof modules === 'string' ) {