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