2020-03-27 13:59:38 -07:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
import Rails from 'rails-ujs';
|
|
|
|
|
|
|
|
export function start() {
|
2020-06-26 21:24:23 -07:00
|
|
|
require('fork-awesome/css/fork-awesome.css');
|
2020-09-08 19:15:25 -07:00
|
|
|
require('@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.base-theme.react.css');
|
|
|
|
require('@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.material-theme.react.css');
|
2020-03-27 13:59:38 -07:00
|
|
|
require.context('../images/', true);
|
|
|
|
|
|
|
|
try {
|
|
|
|
Rails.start();
|
|
|
|
} catch (e) {
|
|
|
|
// If called twice
|
|
|
|
}
|
|
|
|
};
|