aboutsummaryrefslogtreecommitdiff
path: root/lib/output.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-09-10 15:54:17 +0300
committerMihai Bazon <mihai@bazon.net>2012-09-10 16:37:05 +0300
commita41e6cfabb0befc0b71c95aa55ac0568cce36518 (patch)
tree624739e319634a11553b1b928206200fbde8fb8f /lib/output.js
parent16b12c62875c67a7ca50f6ee184dcb6f476ea350 (diff)
downloadtracifyjs-a41e6cfabb0befc0b71c95aa55ac0568cce36518.tar.gz
tracifyjs-a41e6cfabb0befc0b71c95aa55ac0568cce36518.zip
more progress on the compressor (WIP)
Diffstat (limited to 'lib/output.js')
-rw-r--r--lib/output.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js
index c803fbae..35c7ade7 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -313,6 +313,9 @@ function OutputStream(options) {
};
AST_Node.DEFMETHOD("print_to_string", function(options){
+ options = defaults(options, {
+ beautify: false
+ });
var s = OutputStream(options);
this.print(s);
return s.get();