Commit fc7bd612 authored by John Resig's avatar John Resig

Merge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens-master

parents 40f48ef6 c5ec1cb3
...@@ -143,7 +143,7 @@ function show_copyright(comments) { ...@@ -143,7 +143,7 @@ function show_copyright(comments) {
if (c.type == "comment1") { if (c.type == "comment1") {
ret += "//" + c.value + "\n"; ret += "//" + c.value + "\n";
} else { } else {
ret += "/*" + c.value + "*/"; ret += "/*" + c.value + "*/\n";
} }
} }
return ret; return ret;
...@@ -181,7 +181,7 @@ function squeeze_it(code) { ...@@ -181,7 +181,7 @@ function squeeze_it(code) {
}); });
if (options.ast) if (options.ast)
return sys.inspect(ast, null, null); 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; return result;
} catch(ex) { } catch(ex) {
sys.debug(ex.stack); sys.debug(ex.stack);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment