Merge pull request #3433 from Microsoft/systemJsTempVars

move temp declarations out of object literal
This commit is contained in:
Vladimir Matveev 2015-06-08 19:50:57 -07:00
commit 08cf559012
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -65,6 +65,6 @@ System.register([], function(exports_1) {
exports_1("x", x = _b[_i][0]);
}
}
var _a;
}
var _a;
});