Merge pull request #3433 from Microsoft/systemJsTempVars
move temp declarations out of object literal
This commit is contained in:
commit
08cf559012
2 changed files with 2 additions and 2 deletions
|
@ -5389,10 +5389,10 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
||||||
emitSetters(exportStarFunction);
|
emitSetters(exportStarFunction);
|
||||||
writeLine();
|
writeLine();
|
||||||
emitExecute(node, startIndex);
|
emitExecute(node, startIndex);
|
||||||
emitTempDeclarations(/*newLine*/ true)
|
|
||||||
decreaseIndent();
|
decreaseIndent();
|
||||||
writeLine();
|
writeLine();
|
||||||
write("}"); // return
|
write("}"); // return
|
||||||
|
emitTempDeclarations(/*newLine*/ true)
|
||||||
}
|
}
|
||||||
|
|
||||||
function emitSetters(exportStarFunction: string) {
|
function emitSetters(exportStarFunction: string) {
|
||||||
|
|
|
@ -65,6 +65,6 @@ System.register([], function(exports_1) {
|
||||||
exports_1("x", x = _b[_i][0]);
|
exports_1("x", x = _b[_i][0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var _a;
|
|
||||||
}
|
}
|
||||||
|
var _a;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue