Skip to content

Commit

Permalink
6.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Jun 27, 2020
1 parent 809e91f commit 435a797
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
SystemJS 6.3.3
* Better error message when content-type header is missing (https://github.com/systemjs/systemjs/pull/2197 via @brandones)
* Make setters optional (#2193 via @guybedford)

SystemJS 6.3.2
* Named exports extra now supports non-objects. (https://github.com/systemjs/systemjs/pull/2186 via @Sauloxd)

Expand Down
2 changes: 2 additions & 0 deletions dist/extras/module-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
if (!res.ok)
throw Error(errMsg(7, res.status + ' ' + res.statusText + ', loading ' + url + (parent ? ' from ' + parent : '')));
var contentType = res.headers.get('content-type');
if (!contentType)
throw Error(errMsg(4, 'Missing header "Content-Type", loading ' + url + (parent ? ' from ' + parent : '')));
if (contentType.match(/^(text|application)\/(x-)?javascript(;|$)/)) {
return res.text().then(function (source) {
(0, eval)(source);
Expand Down
2 changes: 1 addition & 1 deletion dist/extras/module-types.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/extras/module-types.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions dist/s.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SJS 6.3.2
* SJS 6.3.3
* Minimal SystemJS Build
*/
(function () {
Expand Down Expand Up @@ -306,8 +306,10 @@
}
}
if (changed)
for (var i = 0; i < importerSetters.length; i++)
importerSetters[i](ns);
for (var i = 0; i < importerSetters.length; i++) {
var setter = importerSetters[i];
if (setter) setter(ns);
}
return value;
}
var declared = registration[1](_export, registration[1].length === 2 ? {
Expand Down

0 comments on commit 435a797

Please sign in to comment.