~cytrogen/masto-fe

ref: ff168ef2024626f37fa776fde5739dcd58ecb9f2 masto-fe/app/javascript/mastodon/common.js -rw-r--r-- 219 bytes
ff168ef2 — Claire Fix most rubocop issues (#2165) 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
import Rails from '@rails/ujs';

export function start() {
  require('font-awesome/css/font-awesome.css');
  require.context('../images/', true);

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