Merge c1ae2dae87 into 5c7705fcad
This commit is contained in:
commit
e09b0f0220
|
|
@ -66,6 +66,7 @@ function OutputStream(options) {
|
|||
indent_level : 4,
|
||||
quote_keys : false,
|
||||
space_colon : true,
|
||||
space_function : false,
|
||||
ascii_only : false,
|
||||
unescape_regexps : false,
|
||||
inline_script : false,
|
||||
|
|
@ -838,8 +839,10 @@ function OutputStream(options) {
|
|||
if (!nokeyword) {
|
||||
output.print("function");
|
||||
}
|
||||
if (self.name) {
|
||||
if (options.space_function || self.name) {
|
||||
output.space();
|
||||
}
|
||||
if (self.name) {
|
||||
self.name.print(output);
|
||||
}
|
||||
output.with_parens(function(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user