r72929 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r72928
|
r72929
|
r72930
>
Date:
19:36, 13 September 2010
Author:
tparscal
Status:
ok
Tags:
Comment:
Fixed
bug #25147
, a regression caused by
r72743
, where one of the type checks for the style argument of mediaWiki.loader.implement did not get changed to accept objects as well as strings.
Modified paths:
/trunk/phase3/resources/mediawiki/mediawiki.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/resources/mediawiki/mediawiki.js
—
—
@@ -560,7 +560,7 @@
561
561
registry[module].state = 'loaded';
562
562
// Attach components
563
563
registry[module].script = script;
564
- if ( typeof style === 'string' ) {
564
+ if ( typeof style === 'string' || typeof style === 'object' ) {
565
565
registry[module].style = style;
566
566
}
567
567
if ( typeof localization === 'object' ) {
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r72743
ResourceLoaderSiteModule now supports CSS too!
tparscal
20:18, 10 September 2010
Status & tagging log
13:22, 1 October 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r72929
[
removed:
new
added:
ok]