Merge pull request #6098 from guybedford/master

Naive implementation for #6097
This commit is contained in:
Mohamed Hegazy
2016-01-04 09:38:27 -08:00
50 changed files with 84 additions and 84 deletions

View File

@@ -6990,7 +6990,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
write(text);
}
write(`], function(${exportFunctionForFile}) {`);
write(`], function(${exportFunctionForFile}, __moduleName) {`);
writeLine();
increaseIndent();
const startIndex = emitDirectivePrologues(node.statements, /*startWithNewLine*/ true, /*ensureUseStrict*/ true);