Merge branch 'master' of https://github.com/mathiasbynens/jquery into mathiasbynens...
authorJohn Resig <jeresig@gmail.com>
Tue, 18 Jan 2011 23:11:54 +0000 (18:11 -0500)
committerJohn Resig <jeresig@gmail.com>
Tue, 18 Jan 2011 23:11:54 +0000 (18:11 -0500)
1  2 
build/uglify.js

diff --combined build/uglify.js
index 943ddd8,cba0586..cba0586
mode 100644,100755..100644
@@@ -143,7 -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 +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);