Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
bacbb85f
Commit
bacbb85f
authored
Oct 27, 2014
by
Dylan William Hardison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1083081 - javascript concatenation should insert a semicolon between files
r=dkl a=glob
parent
1f497506
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Template.pm
Bugzilla/Template.pm
+1
-1
No files found.
Bugzilla/Template.pm
View file @
bacbb85f
...
@@ -575,7 +575,7 @@ sub _concatenate_js {
...
@@ -575,7 +575,7 @@ sub _concatenate_js {
$content
=~
s
#\n{2,}#\n#g; # blank lines
$content
=~
s
#\n{2,}#\n#g; # blank lines
$content
=~
s
#(^\s+|\s+$)##g; # whitespace at the start/end of file
$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
;
push
@minified
,
$file
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment