support for --comments option to keep comments containing @license or @preserve
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user