mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-11-01 21:31:12 +01:00
bf0ee1a25c
* Enable ESLint rules import/* * fix
18 lines
339 B
JavaScript
18 lines
339 B
JavaScript
import 'intl';
|
|
import 'intl/locale-data/jsonp/en';
|
|
import 'es6-symbol/implement';
|
|
import includes from 'array-includes';
|
|
import assign from 'object-assign';
|
|
import isNaN from 'is-nan';
|
|
|
|
if (!Array.prototype.includes) {
|
|
includes.shim();
|
|
}
|
|
|
|
if (!Object.assign) {
|
|
Object.assign = assign;
|
|
}
|
|
|
|
if (!Number.isNaN) {
|
|
Number.isNaN = isNaN;
|
|
}
|