diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-10-08 13:37:27 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-10-08 13:37:27 +0300 |
commit | d4970b35acb6142157e3f6dd4505ae0e44a175c6 (patch) | |
tree | ebf36ae317ca368cde62eaf0699b0e5012f81669 | |
parent | dd8286bce152125d18a0af13a6088049303f2993 (diff) | |
download | tracifyjs-d4970b35acb6142157e3f6dd4505ae0e44a175c6.tar.gz tracifyjs-d4970b35acb6142157e3f6dd4505ae0e44a175c6.zip |
should not expose base54.sort() in the API docs, I think
-rwxr-xr-x | bin/uglifyjs2 | 1 | ||||
-rw-r--r-- | lib/scope.js | 1 |
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() { |