mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Don't use ecmascript features - fixes #11264
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user