diff options
-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() { |