mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
0ec77c5b3e
Fixes #2941
10 lines
243 B
JavaScript
10 lines
243 B
JavaScript
import main from '../mastodon/main';
|
|
|
|
if (!window.Intl || !Object.assign || !Number.isNaN ||
|
|
!window.Symbol || !Array.prototype.includes) {
|
|
// load polyfills dynamically
|
|
import('../mastodon/polyfills').then(main);
|
|
} else {
|
|
main();
|
|
}
|