~cytrogen/masto-fe

ref: bb51c0676d0cf27babc2c01ee337ca5fd24ae37c masto-fe/app/javascript/mastodon/common.js -rw-r--r-- 215 bytes
bb51c067 — Christian Schmidt Remove redundant ready() wrapper (#26533) 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
  }
}