Skip to content

Commit

Permalink
Merge pull request jashkenas#3029 from wangxian/master
Browse files Browse the repository at this point in the history
fix block comment format "\n"
  • Loading branch information
jashkenas committed Jun 13, 2013
2 parents 13187b0 + 183ec48 commit c8dae22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nodes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,9 @@ exports.Comment = class Comment extends Base
makeReturn: THIS

compileNode: (o, level) ->
code = "/*#{multident @comment, @tab}#{if '\n' in @comment then "\n#{@tab}" else ''}*/\n"
code = "/*#{multident @comment, @tab}#{if '\n' in @comment then "\n#{@tab}" else ''}*/"
code = o.indent + code if (level or o.level) is LEVEL_TOP
[@makeCode code]
[@makeCode "\n", @makeCode code]

#### Call

Expand Down

0 comments on commit c8dae22

Please sign in to comment.