From f3a728abb2d9f4b448de7672358a4d8a88b6fd81 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Thu, 2 Apr 2020 19:42:19 -0400 Subject: [PATCH] remove unneeded file --- website/lib/polyfills.js | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 website/lib/polyfills.js diff --git a/website/lib/polyfills.js b/website/lib/polyfills.js deleted file mode 100644 index bc7e69b55..000000000 --- a/website/lib/polyfills.js +++ /dev/null @@ -1,35 +0,0 @@ -// If you run into issues with features missing in IE11, you likely need to -// make additions to this file for those features. -// See https://github.com/zloirock/core-js -import 'core-js/fn/array' -import 'core-js/fn/object/assign' -import 'core-js/fn/string/ends-with' -import 'core-js/fn/string/includes' -import 'core-js/fn/string/repeat' -import 'core-js/fn/string/starts-with' -import 'core-js/fn/symbol' - -/* NodeList.forEach */ -if (window.NodeList && !NodeList.prototype.forEach) { - NodeList.prototype.forEach = Array.prototype.forEach -} - -/* Element.matches */ -if (!Element.prototype.matches) { - Element.prototype.matches = - Element.prototype.msMatchesSelector || - Element.prototype.webkitMatchesSelector -} - -/* Element.closest */ -if (!Element.prototype.closest) { - Element.prototype.closest = function(s) { - var el = this - - do { - if (el.matches(s)) return el - el = el.parentElement || el.parentNode - } while (el !== null && el.nodeType === 1) - return null - } -}