闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
316 B

  1. import main from '../mastodon/main';
  2. if (!window.Intl || !Object.assign || !Number.isNaN ||
  3. !window.Symbol || !Array.prototype.includes) {
  4. // load polyfills dynamically
  5. import('../mastodon/polyfills').then(main).catch(e => {
  6. console.error(e) // eslint-disable-line no-console
  7. });
  8. } else {
  9. main();
  10. }