From d4970b35acb6142157e3f6dd4505ae0e44a175c6 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Mon, 8 Oct 2012 13:37:27 +0300 Subject: [PATCH] should not expose base54.sort() in the API docs, I think --- bin/uglifyjs2 | 1 - lib/scope.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.34.1