Merge branch 'keep-function-expression-names' of https://github.com/rvanvelzen/UglifyJS2
This commit is contained in:
@@ -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() {};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user