alright, really fixing the comments this time

This commit is contained in:
Jeremy Ashkenas 2010-02-13 00:28:16 -05:00
parent dc9cec2611
commit 0f26072ad0
2 changed files with 2 additions and 5 deletions

View File

@ -436,9 +436,7 @@
return this;
},
compile_node: function compile_node(o) {
var delimiter;
delimiter = this.idt() + '//';
return delimiter + this.lines.join(delimiter);
return this.idt() + '//' + this.lines.join('\n' + this.idt() + '//');
}
}));
statement(CommentNode);

View File

@ -310,8 +310,7 @@ CommentNode: exports.CommentNode: inherit Node, {
this
compile_node: (o) ->
delimiter: @idt() + '//'
delimiter + @lines.join(delimiter)
@idt() + '//' + @lines.join('\n' + @idt() + '//')
}