finally stop polyfilling promises in 2021

pull/1/head
ansuz 3 years ago
parent 344f87884c
commit 8101276b51

@ -49,8 +49,7 @@
"jszip": "Stuk/jszip#^3.1.5", "jszip": "Stuk/jszip#^3.1.5",
"requirejs-plugins": "^1.0.3", "requirejs-plugins": "^1.0.3",
"dragula.js": "3.7.2", "dragula.js": "3.7.2",
"MathJax": "3.0.5", "MathJax": "3.0.5"
"es6-promise ": "4.2.4"
}, },
"resolutions": { "resolutions": {
"bootstrap": "^v4.0.0", "bootstrap": "^v4.0.0",

@ -794,9 +794,7 @@ var factory = function () {
if (typeof(module) !== 'undefined' && module.exports) { if (typeof(module) !== 'undefined' && module.exports) {
module.exports = factory(); module.exports = factory();
} else if ((typeof(define) !== 'undefined' && define !== null) && (define.amd !== null)) { } else if ((typeof(define) !== 'undefined' && define !== null) && (define.amd !== null)) {
define([ define([], function () {
'/bower_components/es6-promise/es6-promise.min.js'
], function () {
return factory(); return factory();
}); });
} else { } else {

Loading…
Cancel
Save