1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-02 00:38:27 +09:00
whippy-edition/app/javascript/mastodon/base_polyfills.js

19 lines
342 B
JavaScript
Raw Normal View History

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;
}