aboutsummaryrefslogtreecommitdiff
path: root/bin/uglifyjs2
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-09-11 18:37:08 +0300
committerMihai Bazon <mihai@bazon.net>2012-09-11 18:37:08 +0300
commit9a629abe00101d56ccc1a9bd01a90b9f7f19421f (patch)
treecb463ec7ffda32560d1237f84c9b9d5a62a7ec37 /bin/uglifyjs2
parent8e82d8d94cd60f7423ee61032a30a35222680dc3 (diff)
downloadtracifyjs-9a629abe00101d56ccc1a9bd01a90b9f7f19421f.tar.gz
tracifyjs-9a629abe00101d56ccc1a9bd01a90b9f7f19421f.zip
minor
Diffstat (limited to 'bin/uglifyjs2')
-rwxr-xr-xbin/uglifyjs29
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/uglifyjs2 b/bin/uglifyjs2
index 0eb0e158..60bbc0fb 100755
--- a/bin/uglifyjs2
+++ b/bin/uglifyjs2
@@ -105,9 +105,9 @@ if (ARGS.stats) {
/* -----[ functions ]----- */
function do_file_1(file) {
- if (ARGS.v) {
- sys.error("Compressing " + file);
- }
+ // if (ARGS.v) {
+ // sys.error("Compressing " + file);
+ // }
var code = read_whole_file(file);
var ast;
time_it("parse", function(){
@@ -134,6 +134,9 @@ function do_file_2(ast) {
function do_file_3(ast) {
var file = ast.filename;
+ // if (ARGS.v) {
+ // sys.error("Mangling/generating " + file);
+ // }
time_it("mangle", function(){
ast.mangle_names();
});