aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2011-01-18 18:11:54 -0500
committerJohn Resig <jeresig@gmail.com>2011-01-18 18:11:54 -0500
commitfc7bd61200a447b361b7d561cf376c29c165aed7 (patch)
treeacca882ff9bbafd4809c3025947db263fab4fd51 /build
parent40f48ef6bee71c8a4c285635bdd7b155c71ad87f (diff)
parentc5ec1cb3e5ce8d1f6d9b6175049a3886d3776a18 (diff)
downloadjquery-fc7bd61200a447b361b7d561cf376c29c165aed7.tar.gz
jquery-fc7bd61200a447b361b7d561cf376c29c165aed7.zip
Merge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens-master
Diffstat (limited to 'build')
-rw-r--r--build/uglify.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/uglify.js b/build/uglify.js
index 943ddd806..cba0586ff 100644
--- 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);