diff options
author | Mathias Bynens <mathias@qiwi.be> | 2011-01-18 23:14:32 +0100 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2011-01-18 23:14:32 +0100 |
commit | c5ec1cb3e5ce8d1f6d9b6175049a3886d3776a18 (patch) | |
tree | 0418a6c56ac5b48818d76d0235b3bb1622414d60 /build | |
parent | 80928cc6fb50c49be24f8bfb40d43a21945e8608 (diff) | |
download | jquery-c5ec1cb3e5ce8d1f6d9b6175049a3886d3776a18.tar.gz jquery-c5ec1cb3e5ce8d1f6d9b6175049a3886d3776a18.zip |
Add missing line break after copyright header and trailing semicolon at the end of the minified version.
Diffstat (limited to 'build')
-rwxr-xr-x | build/uglify.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/uglify.js b/build/uglify.js index 943ddd806..cba0586ff 100755 --- a/build/uglify.js +++ b/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); |