1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
This commit is contained in:
Michael Ficarra 2013-06-13 13:38:13 -05:00
parent 054443c46e
commit ba7cb3ab69
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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