1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

Fixing wonky spacing at top level.

This commit is contained in:
Jeremy Ashkenas 2012-10-23 18:08:29 -04:00
parent 0ba628159f
commit f029695db8
2 changed files with 0 additions and 4 deletions

View file

@ -307,9 +307,6 @@
code = node.compile(o);
if (!node.isStatement(o)) {
code = "" + this.tab + code + ";";
if (node instanceof Literal) {
code = "" + code + "\n";
}
}
codes.push(code);
} else {

View file

@ -229,7 +229,6 @@ exports.Block = class Block extends Base
code = node.compile o
unless node.isStatement o
code = "#{@tab}#{code};"
code = "#{code}\n" if node instanceof Literal
codes.push code
else
codes.push node.compile o, LEVEL_LIST