r74103 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74102‎ | r74103 | r74104 >
Date:20:26, 1 October 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added group param to loader script wrapping.
Modified paths:
  • /trunk/phase3/includes/ResourceLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ResourceLoader.php
@@ -440,7 +440,7 @@
441441 $group = 'null';
442442 }
443443 $script = str_replace( "\n", "\n\t", trim( $script ) );
444 - return "( function( name, version, dependencies ) {\n\t$script\n} )" .
 444+ return "( function( name, version, dependencies, group ) {\n\t$script\n} )" .
445445 "( '$name', $version, $dependencies, $group );\n";
446446 }
447447

Status & tagging log