aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-10-02 16:40:42 +0300
committerMihai Bazon <mihai@bazon.net>2012-10-02 16:40:42 +0300
commit815abcfe1847c10fb257f5651561272743c1f754 (patch)
tree296ddd27e62dec0b9db2c1ce9cf1035a14352e7e /lib
parentcb2e811191238eb5adfa3560630770649fe29ec9 (diff)
downloadtracifyjs-815abcfe1847c10fb257f5651561272743c1f754.tar.gz
tracifyjs-815abcfe1847c10fb257f5651561272743c1f754.zip
support for `--comments` option to keep comments containing @license or @preserve
Diffstat (limited to 'lib')
-rw-r--r--lib/output.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js
index cbd97a96..dc6d777f 100644
--- a/lib/output.js
+++ b/lib/output.js
@@ -344,7 +344,7 @@ function OutputStream(options) {
});
} else if (typeof c == "function") {
comments = comments.filter(function(comment){
- return c(self, comment.value, comment.type);
+ return c(self, comment);
});
}
comments.forEach(function(c){