mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 06:43:42 +01:00
0ec77c5b3e
Fixes #2941
18 lines
342 B
JavaScript
18 lines
342 B
JavaScript
import 'intl';
|
|
import 'intl/locale-data/jsonp/en.js';
|
|
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;
|
|
}
|