forked from AkkomaGang/akkoma-fe
9 lines
201 B
JavaScript
9 lines
201 B
JavaScript
import EventTargetPolyfill from '@ungap/event-target'
|
|
|
|
try {
|
|
/* eslint-disable no-new */
|
|
new EventTarget()
|
|
/* eslint-enable no-new */
|
|
} catch (e) {
|
|
window.EventTarget = EventTargetPolyfill
|
|
}
|