Add semicolon to the generated anonymous javascript function since it could break code following it.
Example: (function(){})()/* this is the same as undefined() */(function(){})()
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ argv._.forEach(function(template) {
|
||||
|
||||
// Output the content
|
||||
if (!argv.simple) {
|
||||
output.push('})()');
|
||||
output.push('})();');
|
||||
}
|
||||
output = output.join('');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user