~cytrogen/masto-fe

ref: a86886b1fdc927ed51810fb6b43a0458bedf1cbb masto-fe/app/javascript/mastodon/common.js -rw-r--r-- 215 bytes
a86886b1 — alfe Rewrite `<LoadingIndicator/>` as FC and TS (#25364) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
import Rails from '@rails/ujs';
import 'font-awesome/css/font-awesome.css';

export function start() {
  require.context('../images/', true);

  try {
    Rails.start();
  } catch (e) {
    // If called twice
  }
}