summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-10-27 22:10:06 +0100
committerDylan William Hardison <dylan@hardison.net>2014-10-27 22:10:42 +0100
commitc97e64782c6b3b9d176db5b66abae2e240b456c6 (patch)
tree5c1112e3f89ae504b737ace98d3caa7e6508d2b4
parent0410aa4c4c5bddce26b982a2e066c4da94c60383 (diff)
downloadbugzilla-c97e64782c6b3b9d176db5b66abae2e240b456c6.tar.gz
bugzilla-c97e64782c6b3b9d176db5b66abae2e240b456c6.tar.xz
Bug 1083081 - javascript concatenation should insert a semicolon between files
r=dkl a=glob
-rw-r--r--Bugzilla/Template.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 660767afd..7ce1be72b 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;
}