From: Dylan William Hardison Date: Mon, 27 Oct 2014 21:10:06 +0000 (-0400) Subject: Bug 1083081 - javascript concatenation should insert a semicolon between files X-Git-Tag: release-5.1.1~477 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c97e64782c6b3b9d176db5b66abae2e240b456c6;p=thirdparty%2Fbugzilla.git Bug 1083081 - javascript concatenation should insert a semicolon between files r=dkl a=glob --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 660767afdb..7ce1be72bc 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -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; }