aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-10-08 13:37:27 +0300
committerMihai Bazon <mihai@bazon.net>2012-10-08 13:37:27 +0300
commitd4970b35acb6142157e3f6dd4505ae0e44a175c6 (patch)
treeebf36ae317ca368cde62eaf0699b0e5012f81669
parentdd8286bce152125d18a0af13a6088049303f2993 (diff)
downloadtracifyjs-d4970b35acb6142157e3f6dd4505ae0e44a175c6.tar.gz
tracifyjs-d4970b35acb6142157e3f6dd4505ae0e44a175c6.zip
should not expose base54.sort() in the API docs, I think
-rwxr-xr-xbin/uglifyjs21
-rw-r--r--lib/scope.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/uglifyjs2 b/bin/uglifyjs2
index ef87b657..b3b00a7b 100755
--- a/bin/uglifyjs2
+++ b/bin/uglifyjs2
@@ -243,7 +243,6 @@ if (SCOPE_IS_NEEDED) {
TOPLEVEL.figure_out_scope();
if (MANGLE) {
TOPLEVEL.compute_char_frequency();
- UglifyJS.base54.sort();
}
});
}
diff --git a/lib/scope.js b/lib/scope.js
index d926d4dc..67ef267b 100644
--- a/lib/scope.js
+++ b/lib/scope.js
@@ -467,6 +467,7 @@ AST_Toplevel.DEFMETHOD("compute_char_frequency", function(){
base54.consider(node.property);
});
this.walk(tw);
+ base54.sort();
});
var base54 = (function() {