Fixed minor difference in string literal emit for AMD modules

This commit is contained in:
Ron Buckton
2016-03-24 16:23:30 -07:00
parent e78b64b040
commit b60cf99c8a
11 changed files with 41 additions and 15 deletions

View File

@@ -29,6 +29,6 @@ var n: number;
//// [consumer.js]
"use strict";
// Ambient external module members are always exported with or without export keyword when module lacks export assignment
var imp3 = require("equ2");
var imp3 = require('equ2');
var n = imp3.x;
var n;

View File

@@ -20,7 +20,7 @@ var c = new A();
//// [ambientExternalModuleWithInternalImportDeclaration_0.js]
//// [ambientExternalModuleWithInternalImportDeclaration_1.js]
define(["require", "exports", "M"], function (require, exports, A) {
define(["require", "exports", 'M'], function (require, exports, A) {
"use strict";
var c = new A();
});

View File

@@ -19,7 +19,7 @@ var c = new A();
//// [ambientExternalModuleWithoutInternalImportDeclaration_0.js]
//// [ambientExternalModuleWithoutInternalImportDeclaration_1.js]
define(["require", "exports", "M"], function (require, exports, A) {
define(["require", "exports", 'M'], function (require, exports, A) {
"use strict";
var c = new A();
});

View File

@@ -10,7 +10,7 @@ export {n2}
export {n2 as n3}
//// [systemModule10.js]
System.register(["file1", "file2"], function (exports_1, context_1) {
System.register(['file1', 'file2'], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var file1_1, n2;

View File

@@ -10,7 +10,7 @@ export {n2}
export {n2 as n3}
//// [systemModule10_ES5.js]
System.register(["file1", "file2"], function (exports_1, context_1) {
System.register(['file1', 'file2'], function (exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var file1_1, n2;