mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 03:21:20 -05:00
Issue #572. Block comments now compile to // for aesthetic reasons.
This commit is contained in:
@@ -399,8 +399,8 @@ exports.CommentNode = class CommentNode extends BaseNode
|
||||
this
|
||||
|
||||
compileNode: (o) ->
|
||||
sep = '\n' + @tab
|
||||
"#{@tab}/*#{sep + @lines.join(sep) }\n#{@tab}*/"
|
||||
sep = @tab + '// '
|
||||
sep + @lines.join '\n' + sep
|
||||
|
||||
#### CallNode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user