1
0
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-15 07:34:58 +01:00
mastodon/app/javascript/flavours/glitch/util/base_polyfills.js
2017-12-03 23:26:40 -08:00

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