public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1529ab9
)
[AST_Hole] the print function can be a no-op.
author
Mihai Bazon
<mihai@bazon.net>
Thu, 17 Jan 2013 09:16:55 +0000
(11:16 +0200)
committer
Mihai Bazon
<mihai@bazon.net>
Thu, 17 Jan 2013 09:36:10 +0000
(11:36 +0200)
lib/output.js
patch
|
blob
|
history
diff --git
a/lib/output.js
b/lib/output.js
index
5da27e7
..
cafb28f
100644
(file)
--- a/
lib/output.js
+++ b/
lib/output.js
@@
-1035,9
+1035,7
@@
function OutputStream(options) {
DEFPRINT(AST_Undefined, function(self, output){
output.print("void 0");
});
- DEFPRINT(AST_Hole, function(self, output){
- output.print("");
- });
+ DEFPRINT(AST_Hole, noop);
DEFPRINT(AST_Infinity, function(self, output){
output.print("1/0");
});