aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-10-27 17:10:06 -0400
committerDylan William Hardison <dylan@hardison.net>2014-10-27 17:11:04 -0400
commitbacbb85f219ef5924633672e61491a63ebb6f50a (patch)
tree219fe5d408851bedabccdae9907d24a46d54f34f /Bugzilla/Template.pm
parent1f497506d5bf76eac8dd591550262e10b2f9aabb (diff)
downloadbugs-bacbb85f219ef5924633672e61491a63ebb6f50a.tar
bugs-bacbb85f219ef5924633672e61491a63ebb6f50a.tar.gz
bugs-bacbb85f219ef5924633672e61491a63ebb6f50a.tar.bz2
bugs-bacbb85f219ef5924633672e61491a63ebb6f50a.tar.xz
bugs-bacbb85f219ef5924633672e61491a63ebb6f50a.zip
Bug 1083081 - javascript concatenation should insert a semicolon between files
r=dkl a=glob
Diffstat (limited to 'Bugzilla/Template.pm')
-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;
}