Skip to content

Commit

Permalink
Merge pull request #23 from jsenv/update_jsenv
Browse files Browse the repository at this point in the history
Update jsenv
  • Loading branch information
dmail authored Jul 12, 2024
2 parents aa81401 + 46c0e94 commit a39867b
Show file tree
Hide file tree
Showing 10 changed files with 2,519 additions and 1,872 deletions.
2 changes: 1 addition & 1 deletion babel.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
*/

module.exports = {
plugins: ["@babel/plugin-syntax-import-assertions"],
plugins: ["@babel/plugin-syntax-import-attributes"],
}
50 changes: 22 additions & 28 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
<link rel="preload" href="/other/logo.png?v=467b6542" as="image">
<link rel="preload" href="/js/main.nomodule.js?v=76ef0a68" as="script">
<link rel="preload" href="/css/app.css?v=a0c28051" as="style">
<link rel="preload" href="/js/app.nomodule.js?v=60565a03" as="script">
<link rel="preload" href="/js/vendors.nomodule.js?v=6f517833" as="script">
<link rel="preload" href="/js/app.nomodule.js?v=3335e7de" as="script">
<link rel="preload" href="/js/vendors.nomodule.js?v=91a34eab" as="script">
<script>
;(function() {
var __versionMappings__ = {
"/js/main.nomodule.js": "/js/main.nomodule.js?v=76ef0a68",
"/js/vendors.nomodule.js": "/js/vendors.nomodule.js?v=6f517833",
"/js/vendors.nomodule.js": "/js/vendors.nomodule.js?v=91a34eab",
"/other/roboto_v27_latin_regular.woff2": "/other/roboto_v27_latin_regular.woff2?v=fda7bb73",
"/js/app.nomodule.js": "/js/app.nomodule.js?v=60565a03",
"/js/app.nomodule.js": "/js/app.nomodule.js?v=3335e7de",
"/css/app.css": "/css/app.css?v=a0c28051",
"/js/jsenv_service_worker.js": "/js/jsenv_service_worker.js?v=90994b80",
"/other/logo.png": "/other/logo.png?v=467b6542"
Expand All @@ -37,7 +37,8 @@
return __versionMappings__[specifier] || specifier
};
})();
</script><script>
</script>
<script>
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define([], factory);
Expand All @@ -54,9 +55,6 @@
"use strict";

function _await(value, then, direct) {
if (direct) {
return then ? then(value) : value;
}
if (!value || !value.then) {
value = Promise.resolve(value);
}
Expand All @@ -76,7 +74,7 @@
}
function _empty() {}
function _awaitIgnored(value, direct) {
if (!direct) {
{
return value && value.then ? value.then(_empty) : Promise.resolve();
}
}
Expand All @@ -98,24 +96,23 @@
}
return result;
}
function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
function _slicedToArray(r, e) {
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
}
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
function _unsupportedIterableToArray(r, a) {
if (r) {
if ("string" == typeof r) return _arrayLikeToArray(r, a);
var t = {}.toString.call(r).slice(8, -1);
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
}
}
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
function _arrayLikeToArray(r, a) {
(null == a || a > r.length) && (a = r.length);
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
return n;
}
function _iterableToArrayLimit(r, l) {
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
Expand All @@ -128,10 +125,7 @@
f = !0,
o = !1;
try {
if (i = (t = t.call(r)).next, 0 === l) {
if (Object(t) !== t) return;
f = !1;
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
if (i = (t = t.call(r)).next, 0 === l) ;else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
} catch (r) {
o = !0, n = r;
} finally {
Expand All @@ -144,8 +138,8 @@
return a;
}
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
function _arrayWithHoles(r) {
if (Array.isArray(r)) return r;
}
function _typeof(o) {
"@babel/helpers - typeof";
Expand Down
4 changes: 2 additions & 2 deletions dist/js/app.nomodule.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
System.register([__v__("/js/vendors.nomodule.js")], function (_export, _context) {
"use strict";

var addToHomescreen, pwaLogger, createServiceWorkerFacade, initAddToHomeScreen, swFacade, initServiceWorker, installServiceWorkerUpdateUI, greet, appNode, render;
var addToHomescreen, createServiceWorkerFacade, pwaLogger, initAddToHomeScreen, swFacade, initServiceWorker, installServiceWorkerUpdateUI, greet, appNode, render;
return {
setters: [function (_vendorsJs) {
addToHomescreen = _vendorsJs.addToHomescreen;
pwaLogger = _vendorsJs.pwaLogger;
createServiceWorkerFacade = _vendorsJs.createServiceWorkerFacade;
pwaLogger = _vendorsJs.pwaLogger;
}],
execute: function () {
initAddToHomeScreen = appNode => {
Expand Down
Loading

0 comments on commit a39867b

Please sign in to comment.