diff options
author | Anthony Van de Gejuchte <anthonyvdgent@gmail.com> | 2016-10-16 20:57:28 +0200 |
---|---|---|
committer | Richard van Velzen <rvanvelzen1@gmail.com> | 2016-10-23 21:31:03 +0200 |
commit | 8d74f3437352e22b3fd18ce602a4378170ec6598 (patch) | |
tree | bd82ae91555550753bf2b1c34b6a5523365df07c /lib | |
parent | 266ddd96399afcdee56d9d58b287f912b8728342 (diff) | |
download | tracifyjs-8d74f3437352e22b3fd18ce602a4378170ec6598.tar.gz tracifyjs-8d74f3437352e22b3fd18ce602a4378170ec6598.zip |
Don't filter shebangs when using the 'some' comment filter
Also clarify documentation a bit more about using regexp as filter
Diffstat (limited to 'lib')
-rw-r--r-- | lib/output.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js index 014dac46..63a78c60 100644 --- a/lib/output.js +++ b/lib/output.js @@ -101,6 +101,7 @@ function OutputStream(options) { // multiline comment return /@preserve|@license|@cc_on/i.test(text); } + return type == "comment5"; } } else if (options.comments){ // NOTE includes "all" option |