Don't filter shebangs when using the 'some' comment filter

Also clarify documentation a bit more about using regexp as filter
This commit is contained in:
Anthony Van de Gejuchte
2016-10-16 20:57:28 +02:00
committed by Richard van Velzen
parent 266ddd9639
commit 8d74f34373
4 changed files with 12 additions and 5 deletions

View File

@@ -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