public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8286b
)
should not expose base54.sort() in the API docs, I think
author
Mihai Bazon
<mihai@bazon.net>
Mon, 8 Oct 2012 10:37:27 +0000
(13:37 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Mon, 8 Oct 2012 10:37:27 +0000
(13:37 +0300)
bin/uglifyjs2
patch
|
blob
|
history
lib/scope.js
patch
|
blob
|
history
diff --git
a/bin/uglifyjs2
b/bin/uglifyjs2
index
ef87b65
..
b3b00a7
100755
(executable)
--- 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
d926d4d
..
67ef267
100644
(file)
--- 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() {