Merge branch 'keep-function-expression-names' of https://github.com/rvanvelzen/UglifyJS2
This commit is contained in:
commit
fe55e0d93d
|
|
@ -163,3 +163,17 @@ used_var_in_catch: {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
keep_fnames: {
|
||||
options = { unused: true, keep_fnames: true };
|
||||
input: {
|
||||
function foo() {
|
||||
return function bar(baz) {};
|
||||
}
|
||||
}
|
||||
expect: {
|
||||
function foo() {
|
||||
return function bar() {};
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user