| 1234567891011121314151617181920212223242526272829 |
- import 'core-js/es6/string';
- import 'core-js/es6/array';
- import 'core-js/es6/map';
- import 'core-js/es6/set';
- import 'core-js/es6/object';
- import 'core-js/es6/promise';
- import 'core-js/es7/object';
- import 'core-js/es7/array';
- import 'raf/polyfill';
- if (typeof window !== 'undefined') {
- // IE11 matches polyfill
- if (!Element.prototype.matches) {
- Element.prototype.matches =
- Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
- }
- // IE11 Element.closest polyfill
- 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;
- };
- }
- }
|