fixing over whitespace-ing from the previous commit.

This commit is contained in:
Jeremy Ashkenas
2011-05-15 10:16:46 -04:00
parent 84ae563368
commit b780d707ab
2 changed files with 2 additions and 2 deletions

View File

@@ -308,7 +308,7 @@
if (scope.expressions === this) {
declars = o.scope.hasDeclarations();
assigns = scope.hasAssignments;
if (declars || assigns) {
if ((declars || assigns) && i) {
code += '\n';
}
if (declars) {

View File

@@ -252,7 +252,7 @@ exports.Block = class Block extends Base
if scope.expressions is this
declars = o.scope.hasDeclarations()
assigns = scope.hasAssignments
if declars or assigns
if (declars or assigns) and i
code += '\n'
if declars
code += "#{@tab}var #{ scope.declaredVariables().join(', ') };\n"