Skip to content
Permalink
Browse files

Add missing line break after copyright header and trailing semicolon …

…at the end of the minified version.
  • Loading branch information
mathiasbynens committed Jan 18, 2011
1 parent 80928cc commit c5ec1cb3e5ce8d1f6d9b6175049a3886d3776a18
Showing with 2 additions and 2 deletions.
  1. +2 −2 build/uglify.js
@@ -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);

0 comments on commit c5ec1cb

Please sign in to comment.
You can’t perform that action at this time.