Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ported fix for minified DoWhile output for escodegen

  • Loading branch information...
commit 37d0e98b9cb83ae0b15d84a75a0e1a12df8c046b 1 parent 1ea3c1e
@rinon rinon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/escodegen.js
View
2  src/escodegen.js
@@ -1049,7 +1049,7 @@
break;
case Syntax.DoWhileStatement:
- result = 'do' + maybeBlock(stmt.body);
+ result = join('do', maybeBlock(stmt.body));
result += maybeBlockSuffix(stmt.body, result);
result += 'while' + space + '(' + generateExpression(stmt.test, {
precedence: Precedence.Sequence,
Please sign in to comment.
Something went wrong with that request. Please try again.