Remove es6 polyfill
authorcolemanw <coleman@civicrm.org>
Tue, 26 Sep 2023 19:07:23 +0000 (15:07 -0400)
committercolemanw <coleman@civicrm.org>
Tue, 26 Sep 2023 19:07:23 +0000 (15:07 -0400)
composer.json
templates/CRM/common/l10n.js.tpl

index 3e3eb898296276a5c5f75cb81fe43d6d5dc6439b..c9713841c4ab09707d94a80131f977291a2064bf 100644 (file)
         "path": "bower_components/es-module-shims/dist/es-module-shims.js",
         "_comment": "See also https://github.com/guybedford/es-module-shims/. MIT license."
       },
-      "es6-promise": {
-        "url": "https://github.com/components/es6-promise/archive/v4.2.4.zip"
-      },
       "ext-greenwich-bootstrap3": {
         "url": "https://github.com/twbs/bootstrap-sass/archive/v{$version}.zip",
         "path": "ext/greenwich/extern/bootstrap3",
index 03598223d76982dbd9ac3784f2e931bf70431613..427ad77d5f265ded875d1c45d75265d42f1f05ca 100644 (file)
     functions: []
   };
 
-  // Load polyfill
-  if (!('Promise' in window)) {
-    CRM.loadScript(CRM.config.resourceBase + 'bower_components/es6-promise/es6-promise.auto.min.js');
-  }
-
 })(jQuery);
 {/literal}