This commit is contained in:
zdenko
2018-02-18 01:57:49 +01:00
committed by Geoffrey Booth
parent 571e9df335
commit eb7009268d
3 changed files with 57 additions and 3 deletions

View File

@@ -595,7 +595,6 @@
prev = this.prev();
backslash = (prev != null ? prev[0] : void 0) === '\\';
if (!(backslash && this.seenFor)) {
// console.log backslash, @seenExport
this.seenFor = false;
}
if (!((backslash && this.seenImport) || this.importSpecifierList)) {
@@ -630,7 +629,9 @@
}
if (size > this.indent) {
if (noNewlines) {
this.indebt = size - this.indent;
if (!backslash) {
this.indebt = size - this.indent;
}
this.suppressNewlines();
return indent.length;
}