Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 062485b

Browse files
committed
include build
1 parent 96b436a commit 062485b

6 files changed

+14
-10
lines changed

dist/es6-module-loader-sans-promises.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader-sans-promises.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader-sans-promises.src.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,7 @@ function logloads(loads) {
930930
});
931931

932932
// 26.3.3.13 realm not implemented
933+
this.traceurOptions = {};
933934
}
934935

935936
function Module() {}
@@ -1124,7 +1125,7 @@ function logloads(loads) {
11241125
var options = this.traceurOptions || {};
11251126
options.modules = 'instantiate';
11261127
options.script = false;
1127-
options.sourceMaps = true;
1128+
options.sourceMaps = 'inline';
11281129
options.filename = load.address;
11291130

11301131
var compiler = new traceur.Compiler(options);
@@ -1137,8 +1138,9 @@ function logloads(loads) {
11371138
var sourceMap = compiler.getSourceMap();
11381139

11391140
if (__global.btoa && sourceMap) {
1140-
source += '\n//# sourceURL=' + load.address + '!eval';
1141-
source += '\n//# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(sourceMap))) + '\n';
1141+
// add "!eval" to end of Traceur sourceURL
1142+
// I believe this does something?
1143+
source += '!eval';
11421144
}
11431145

11441146
source = 'var __moduleAddress = "' + load.address + '";' + source;

dist/es6-module-loader.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader.src.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,6 +2155,7 @@ function logloads(loads) {
21552155
});
21562156

21572157
// 26.3.3.13 realm not implemented
2158+
this.traceurOptions = {};
21582159
}
21592160

21602161
function Module() {}
@@ -2349,7 +2350,7 @@ function logloads(loads) {
23492350
var options = this.traceurOptions || {};
23502351
options.modules = 'instantiate';
23512352
options.script = false;
2352-
options.sourceMaps = true;
2353+
options.sourceMaps = 'inline';
23532354
options.filename = load.address;
23542355

23552356
var compiler = new traceur.Compiler(options);
@@ -2362,8 +2363,9 @@ function logloads(loads) {
23622363
var sourceMap = compiler.getSourceMap();
23632364

23642365
if (__global.btoa && sourceMap) {
2365-
source += '\n//# sourceURL=' + load.address + '!eval';
2366-
source += '\n//# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(sourceMap))) + '\n';
2366+
// add "!eval" to end of Traceur sourceURL
2367+
// I believe this does something?
2368+
source += '!eval';
23672369
}
23682370

23692371
source = 'var __moduleAddress = "' + load.address + '";' + source;

0 commit comments

Comments
 (0)