mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
2e112e2406
* Add semi to ESLint rules * Add padded-blocks to ESLint rules * Add comma-dangle to ESLint rules * add config/webpack and storyboard * add streaming/ * yarn test:lint -- --fix
12 lines
317 B
JavaScript
12 lines
317 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).catch(e => {
|
|
console.error(e); // eslint-disable-line no-console
|
|
});
|
|
} else {
|
|
main();
|
|
}
|