fix syntax errors introduced with previous lodash each removal

This commit is contained in:
Sebastian McKenzie 2015-05-09 17:27:33 +01:00
parent bc9ae5ea8b
commit 4deed35212

View File

@ -264,7 +264,7 @@ class CodeGenerator {
}
}
});
});
}
if (opts.indent) this.dedent();
}
@ -332,7 +332,7 @@ class CodeGenerator {
if (!this.format.comments) return;
if (!comments || !comments.length) return;
for (var comment of comments, (comment) => {
for (var comment of (comments: Array)) {
var skip = false;
// find the original comment in the ast and set it as displayed