You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
734 B
28 lines
734 B
2 years ago
|
/*
|
||
|
* required polyfills
|
||
|
*/
|
||
|
import "core-js";
|
||
|
import 'core-js/features/set/map';
|
||
|
|
||
|
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
|
||
|
|
||
|
/** IE10 and IE11 requires the following for the Reflect API. */
|
||
|
|
||
|
/** Evergreen browsers require these. **/
|
||
|
|
||
|
(function () {
|
||
|
|
||
|
if ( typeof window.CustomEvent === "function" ) return false
|
||
|
|
||
|
function CustomEvent ( event, params ) {
|
||
|
params = params || { bubbles: false, cancelable: false, detail: undefined }
|
||
|
var evt = document.createEvent( 'CustomEvent' )
|
||
|
evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail )
|
||
|
return evt
|
||
|
}
|
||
|
|
||
|
CustomEvent.prototype = window.Event.prototype
|
||
|
|
||
|
window.CustomEvent = CustomEvent
|
||
|
})()
|