@@ -2226,9 +2226,7 @@ merge(Compressor.prototype, {
|
||||
function before(node, descend, in_list) {
|
||||
var parent = tt.parent();
|
||||
if (!compressor.option("keep_fnames")
|
||||
&& ((node instanceof AST_Function || node instanceof AST_ClassExpression) && node.name
|
||||
|| (node instanceof AST_Defun || node instanceof AST_DefClass)
|
||||
&& parent instanceof AST_Export && parent.is_default)) {
|
||||
&& node.name && (node instanceof AST_Function || node instanceof AST_ClassExpression)) {
|
||||
var def = node.name.definition();
|
||||
// any declarations with same name will overshadow
|
||||
// name of this anonymous function and can therefore
|
||||
|
||||
Reference in New Issue
Block a user