mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-14 17:27:59 -05:00
fixing over whitespace-ing from the previous commit.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user