From 0ee83b3c764c7173b90859d1eeda3f60a41d5ebd Mon Sep 17 00:00:00 2001 From: colemanw Date: Tue, 26 Sep 2023 15:07:23 -0400 Subject: [PATCH] Remove es6 polyfill --- composer.json | 3 --- templates/CRM/common/l10n.js.tpl | 5 ----- 2 files changed, 8 deletions(-) diff --git a/composer.json b/composer.json index 3e3eb89829..c9713841c4 100644 --- a/composer.json +++ b/composer.json @@ -202,9 +202,6 @@ "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", diff --git a/templates/CRM/common/l10n.js.tpl b/templates/CRM/common/l10n.js.tpl index 03598223d7..427ad77d5f 100644 --- a/templates/CRM/common/l10n.js.tpl +++ b/templates/CRM/common/l10n.js.tpl @@ -125,10 +125,5 @@ functions: [] }; - // Load polyfill - if (!('Promise' in window)) { - CRM.loadScript(CRM.config.resourceBase + 'bower_components/es6-promise/es6-promise.auto.min.js'); - } - })(jQuery); {/literal} -- 2.25.1