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:
Steeve Lennmark
2011-10-27 17:21:46 +02:00
parent 43431d2a78
commit 25b8e314af
+1 -1
View File
@@ -121,7 +121,7 @@ argv._.forEach(function(template) {
// Output the content
if (!argv.simple) {
output.push('})()');
output.push('})();');
}
output = output.join('');