diff --git a/external/systemjs/plugin-babel-cached.js b/external/systemjs/plugin-babel-cached.js index 3fca8af3d..0d21d6b75 100644 --- a/external/systemjs/plugin-babel-cached.js +++ b/external/systemjs/plugin-babel-cached.js @@ -55,6 +55,9 @@ function storeCache(address, hashCode, translated, format) { tx.oncomplete = function () { resolve(); }; + tx.onerror = function () { + resolve(); + }; }); }); } @@ -74,6 +77,9 @@ function loadCache(address, hashCode) { format: found.format, } : null); }; + tx.onerror = function () { + resolve(null); + }; }); }); }