This commit is contained in:
Paulus Schoutsen
2020-05-22 23:05:47 -07:00
committed by GitHub
parent 7daafcbe1b
commit 7e281f66c2
35 changed files with 1080 additions and 120 deletions

View File

@@ -104,8 +104,16 @@
// // Safari 10.1 supports type=module but ignores nomodule, so we add this check.
if (!isS101) {
_ls("/static/polyfills/custom-elements-es5-adapter.js");
_ls("<%= es5Compatibility %>");
_ls("<%= es5DemoJS %>");
<% if (useRollup) { %>
_ls("/static/js/s.min.js").onload = function() {
System.import("<%= es5Compatibility %>").then(function() {
System.import("<%= es5DemoJS %>");
});
};
<% } else { %>
_ls("<%= es5Compatibility %>");
_ls("<%= es5DemoJS %>");
<% } %>
}
})();
</script>