aboutsummaryrefslogtreecommitdiff
path: root/lib/transform.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2013-05-14 10:47:06 +0300
committerMihai Bazon <mihai@bazon.net>2013-05-14 10:47:06 +0300
commitf64539fb7692c7fbfed0b266afea95d370453ddb (patch)
tree585441812786bc0bdd7610d250a04c1ba575ebe1 /lib/transform.js
parentd56ebd7d7b8de0b46ce203b580df28d76fa16692 (diff)
downloadtracifyjs-f64539fb7692c7fbfed0b266afea95d370453ddb.tar.gz
tracifyjs-f64539fb7692c7fbfed0b266afea95d370453ddb.zip
Compress code passed to `new Function` if it's a constant.
Only for `--unsafe`. Close #203
Diffstat (limited to 'lib/transform.js')
-rw-r--r--lib/transform.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/transform.js b/lib/transform.js
index 8b4fd9fd..7a61e5f3 100644
--- a/lib/transform.js
+++ b/lib/transform.js
@@ -44,7 +44,6 @@
"use strict";
// Tree transformer helpers.
-// XXX: eventually I should refactor the compressor to use this infrastructure.
function TreeTransformer(before, after) {
TreeWalker.call(this);