Skip to content

Commit

Permalink
Merge branch 'w29_MDL-28440_m20_jssemicol' of git://github.com/skodak…
Browse files Browse the repository at this point in the history
…/moodle into MOODLE_20_STABLE
  • Loading branch information
Sam Hemelryk committed Jul 25, 2011
2 parents 27a2c6b + c3ceb8d commit a4e3607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outputrequirementslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ public function yui_module($modules, $function, array $arguments = null, $galler
// Set Y's config.gallery to the version
$jscode = 'Y.config.gallery='.json_encode($galleryversion).';';
}
$jscode .= 'Y.use('.join(',', array_map('json_encode', $modules)).',function() {'.js_writer::function_call($function, $arguments).'})';
$jscode .= 'Y.use('.join(',', array_map('json_encode', $modules)).',function() {'.js_writer::function_call($function, $arguments).'});';
if ($ondomready) {
$jscode = "Y.on('domready', function() { $jscode });";
}
Expand Down

0 comments on commit a4e3607

Please sign in to comment.