1
0
Fork 0
forked from fedi/mastodon
mastodon/app/javascript/packs/application.js
2017-05-11 11:26:06 +02:00

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();
}