mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
Comments and style fixes
This commit is contained in:
parent
7134856df2
commit
b449e1be60
6 changed files with 69 additions and 92 deletions
|
@ -480,7 +480,7 @@
|
|||
fragments = node.compileToFragments(o);
|
||||
if (!node.isStatement(o)) {
|
||||
fragments.unshift(this.makeCode(`${this.tab}`));
|
||||
fragments.push(this.makeCode(";"));
|
||||
fragments.push(this.makeCode(';'));
|
||||
}
|
||||
compiledNodes.push(fragments);
|
||||
} else {
|
||||
|
@ -1666,8 +1666,8 @@
|
|||
answer.unshift(this.makeCode(`[\n${o.indent}`));
|
||||
answer.push(this.makeCode(`\n${this.tab}]`));
|
||||
} else {
|
||||
answer.unshift(this.makeCode("["));
|
||||
answer.push(this.makeCode("]"));
|
||||
answer.unshift(this.makeCode('['));
|
||||
answer.push(this.makeCode(']'));
|
||||
}
|
||||
return answer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue