2020-03-21 02:14:50 +00:00
|
|
|
import Rails from '@rails/ujs';
|
2018-07-14 02:56:41 +01:00
|
|
|
|
|
|
|
export function start() {
|
2018-09-28 01:11:14 +01:00
|
|
|
require('font-awesome/css/font-awesome.css');
|
2018-07-14 02:56:41 +01:00
|
|
|
require.context('../images/', true);
|
|
|
|
|
2019-01-17 13:06:08 +00:00
|
|
|
try {
|
|
|
|
Rails.start();
|
|
|
|
} catch (e) {
|
|
|
|
// If called twice
|
|
|
|
}
|
2018-07-14 02:56:41 +01:00
|
|
|
};
|