Don't use ecmascript features - fixes #11264

This commit is contained in:
Per Bergland
2020-12-11 13:26:21 +01:00
parent 8bc33ab75c
commit 64c8ae2489

View File

@@ -70,7 +70,7 @@ function precacheOnLoad(event) {
Promise.all(modules.splice(0, amount).map(function (id) {
return new Promise(function (resolve, reject) {
module.prefetch(id).then(resolve).catch(
(err) => {
function (err) {
// we probably have a : _ mismatch
// what can get wrong if we do the replacement
// 1. a package with a name like a_b:package will not resolve