Index: trunk/phase3/includes/ResourceLoaderModule.php |
— | — | @@ -1060,8 +1060,8 @@ |
1061 | 1061 | foreach ( $context->getResourceLoader()->getModules() as $name => $module ) { |
1062 | 1062 | // Support module loader scripts |
1063 | 1063 | if ( ( $loader = $module->getLoaderScript() ) !== false ) { |
1064 | | - $deps = FormatJson::encode( $module->getDependencies() ); |
1065 | | - $group = FormatJson::encode( $module->getGroup() ); |
| 1064 | + $deps = $module->getDependencies(); |
| 1065 | + $group = $module->getGroup(); |
1066 | 1066 | $version = wfTimestamp( TS_ISO_8601_BASIC, round( $module->getModifiedTime( $context ), -2 ) ); |
1067 | 1067 | $out .= ResourceLoader::makeCustomLoaderScript( $name, $version, $deps, $group, $loader ); |
1068 | 1068 | } |