finally stop polyfilling promises in 2021

This commit is contained in:
ansuz 2021-09-07 19:27:28 +05:30
parent 344f87884c
commit 8101276b51
2 changed files with 2 additions and 5 deletions

View File

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

View File

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