introduce compressor.info() (#1633)
report the following only when `options.warnings = "verbose"` - unused elements due to inlining - collpased variables
This commit is contained in:
@@ -114,7 +114,7 @@ function run_compress_tests() {
|
||||
U.AST_Node.warn_function = function(text) {
|
||||
warnings_emitted.push("WARN: " + text);
|
||||
};
|
||||
options.warnings = true;
|
||||
if (!options.warnings) options.warnings = true;
|
||||
}
|
||||
var cmp = new U.Compressor(options, true);
|
||||
var output_options = test.beautify || {};
|
||||
|
||||
Reference in New Issue
Block a user