]> source.dussan.org Git - jquery.git/commitdiff
Add missing line break after copyright header and trailing semicolon at the end of... 190/head
authorMathias Bynens <mathias@qiwi.be>
Tue, 18 Jan 2011 22:14:32 +0000 (23:14 +0100)
committerMathias Bynens <mathias@qiwi.be>
Tue, 18 Jan 2011 22:14:32 +0000 (23:14 +0100)
build/uglify.js

index 943ddd806620a59842cdf250e6b94ed10d403be1..cba0586ffabefc7c4ede8ffddf259c1047e8df60 100755 (executable)
@@ -143,7 +143,7 @@ function show_copyright(comments) {
                 if (c.type == "comment1") {
                         ret += "//" + c.value + "\n";
                 } else {
-                        ret += "/*" + c.value + "*/";
+                        ret += "/*" + c.value + "*/\n";
                 }
         }
         return ret;
@@ -181,7 +181,7 @@ function squeeze_it(code) {
                         });
                 if (options.ast)
                         return sys.inspect(ast, null, null);
-                result += time_it("generate", function(){ return pro.gen_code(ast, options.beautify && options.beautify_options) });
+                result += time_it("generate", function(){ return pro.gen_code(ast, options.beautify && options.beautify_options) }) + ";";
                 return result;
         } catch(ex) {
                 sys.debug(ex.stack);