Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-28440 add missing semicolon causing JS issues

Credit goes to Mark Nielsen.
  • Loading branch information...
commit 4cbc500d1fcd31c837a2491bdac18e9f5c7b6a4d 1 parent aede1fe
Petr Škoda authored July 23, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/outputrequirementslib.php
2  lib/outputrequirementslib.php
@@ -724,7 +724,7 @@ public function yui_module($modules, $function, array $arguments = null, $galler
724 724
             // Set Y's config.gallery to the version
725 725
             $jscode = 'Y.config.gallery='.json_encode($galleryversion).';';
726 726
         }
727  
-        $jscode .= 'Y.use('.join(',', array_map('json_encode', $modules)).',function() {'.js_writer::function_call($function, $arguments).'})';
  727
+        $jscode .= 'Y.use('.join(',', array_map('json_encode', $modules)).',function() {'.js_writer::function_call($function, $arguments).'});';
728 728
         if ($ondomready) {
729 729
             $jscode = "Y.on('domready', function() { $jscode });";
730 730
         }

0 notes on commit 4cbc500

Please sign in to comment.
Something went wrong with that request. Please try again.