mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
fix #3029
This commit is contained in:
parent
054443c46e
commit
ba7cb3ab69
2 changed files with 2 additions and 2 deletions
|
@ -826,7 +826,7 @@
|
||||||
if ((level || o.level) === LEVEL_TOP) {
|
if ((level || o.level) === LEVEL_TOP) {
|
||||||
code = o.indent + code;
|
code = o.indent + code;
|
||||||
}
|
}
|
||||||
return [this.makeCode("\n", this.makeCode(code))];
|
return [this.makeCode("\n"), this.makeCode(code)];
|
||||||
};
|
};
|
||||||
|
|
||||||
return Comment;
|
return Comment;
|
||||||
|
|
|
@ -557,7 +557,7 @@ exports.Comment = class Comment extends Base
|
||||||
compileNode: (o, level) ->
|
compileNode: (o, level) ->
|
||||||
code = "/*#{multident @comment, @tab}#{if '\n' in @comment then "\n#{@tab}" else ''}*/"
|
code = "/*#{multident @comment, @tab}#{if '\n' in @comment then "\n#{@tab}" else ''}*/"
|
||||||
code = o.indent + code if (level or o.level) is LEVEL_TOP
|
code = o.indent + code if (level or o.level) is LEVEL_TOP
|
||||||
[@makeCode "\n", @makeCode code]
|
[@makeCode("\n"), @makeCode(code)]
|
||||||
|
|
||||||
#### Call
|
#### Call
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue