mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 21:23:42 +01:00
0ec77c5b3e
Fixes #2941
9 lines
243 B
JavaScript
9 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();
|
|
}
|