mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
fixing object/comment printing
This commit is contained in:
@@ -661,10 +661,10 @@
|
||||
prop = __e[i];
|
||||
__d.push((function() {
|
||||
join = ",\n";
|
||||
if (prop === last_noncom || prop instanceof CommentNode) {
|
||||
if ((prop === last_noncom) || (prop instanceof CommentNode)) {
|
||||
join = "\n";
|
||||
}
|
||||
if (i === non_comments.length - 1) {
|
||||
if (i === this.properties.length - 1) {
|
||||
join = '';
|
||||
}
|
||||
indent = prop instanceof CommentNode ? '' : this.idt(1);
|
||||
|
||||
Reference in New Issue
Block a user