remove weird acorn conditional formatting

This commit is contained in:
Sebastian McKenzie 2015-09-15 06:18:15 +01:00
parent 76eb259ea8
commit c31d2afc7f

View File

@ -120,8 +120,11 @@ pp.parseBindingAtom = function () {
pp.parseBindingList = function (close, allowEmpty, allowTrailingComma) {
var elts = [], first = true;
while (!this.eat(close)) {
if (first) first = false;
else this.expect(tt.comma);
if (first) {
first = false;
} else {
this.expect(tt.comma);
}
if (allowEmpty && this.match(tt.comma)) {
elts.push(null);
} else if (allowTrailingComma && this.eat(close)) {