~cytrogen/masto-fe

ref: a7ca33ad96d4ff8ae3b714d7dfbaebc962a86c27 masto-fe/app/javascript/mastodon/common.js -rw-r--r-- 215 bytes
a7ca33ad — Eugen Rochko Add toast with option to open post after publishing in web UI (#25564) 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
  }
}