]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1083081 - javascript concatenation should insert a semicolon between files
authorDylan William Hardison <dylan@hardison.net>
Mon, 27 Oct 2014 21:10:06 +0000 (17:10 -0400)
committerDylan William Hardison <dylan@hardison.net>
Mon, 27 Oct 2014 21:10:42 +0000 (17:10 -0400)
r=dkl a=glob

Bugzilla/Template.pm

index 660767afdb219cddc5047fb4d0d05d0381438c18..7ce1be72bc6b1d2e6bb195d32c8b6613f0e6b284 100644 (file)
@@ -575,7 +575,7 @@ sub _concatenate_js {
             $content =~ s#\n{2,}#\n#g;      # blank lines
             $content =~ s#(^\s+|\s+$)##g;   # whitespace at the start/end of file
 
-            write_file($file, "/* $files{$source} */\n" . $content . "\n");
+            write_file($file, ";/* $files{$source} */\n" . $content . "\n");
         }
         push @minified, $file;
     }