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

Commit ce7e86b

Browse files
committed
v0.17.8
1 parent 95f7b11 commit ce7e86b

7 files changed

+17
-15
lines changed

dist/es6-module-loader-dev.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es6-module-loader-dev.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-dev.src.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ SystemLoader.prototype.instantiate = function(load) {
14971497
xhr.open("GET", url, true);
14981498

14991499
if (xhr.setRequestHeader) {
1500-
xhr.setRequestHeader('Accept', 'application/x-es-module */*');
1500+
xhr.setRequestHeader('Accept', 'application/x-es-module, */*');
15011501
// can set "authorization: true" to enable withCredentials only
15021502
if (authorization) {
15031503
if (typeof authorization == 'string')
@@ -1506,12 +1506,13 @@ SystemLoader.prototype.instantiate = function(load) {
15061506
}
15071507
}
15081508

1509-
if (doTimeout)
1509+
if (doTimeout) {
15101510
setTimeout(function() {
15111511
xhr.send();
15121512
}, 0);
1513-
1514-
xhr.send(null);
1513+
} else {
1514+
xhr.send(null);
1515+
}
15151516
};
15161517
}
15171518
else if (typeof require != 'undefined') {

dist/es6-module-loader.js

Lines changed: 2 additions & 2 deletions
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ SystemLoader.prototype.instantiate = function(load) {
11551155
xhr.open("GET", url, true);
11561156

11571157
if (xhr.setRequestHeader) {
1158-
xhr.setRequestHeader('Accept', 'application/x-es-module */*');
1158+
xhr.setRequestHeader('Accept', 'application/x-es-module, */*');
11591159
// can set "authorization: true" to enable withCredentials only
11601160
if (authorization) {
11611161
if (typeof authorization == 'string')
@@ -1164,12 +1164,13 @@ SystemLoader.prototype.instantiate = function(load) {
11641164
}
11651165
}
11661166

1167-
if (doTimeout)
1167+
if (doTimeout) {
11681168
setTimeout(function() {
11691169
xhr.send();
11701170
}, 0);
1171-
1172-
xhr.send(null);
1171+
} else {
1172+
xhr.send(null);
1173+
}
11731174
};
11741175
}
11751176
else if (typeof require != 'undefined') {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "es6-module-loader",
33
"description": "An ES6 Module Loader shim",
4-
"version": "0.17.7",
4+
"version": "0.17.8",
55
"homepage": "https://github.com/ModuleLoader/es6-module-loader",
66
"author": {
77
"name": "Guy Bedford, Luke Hoban, Addy Osmani",

0 commit comments

Comments
 (0)