2022-01-08 17:14:53 -08:00
|
|
|
require('sweetalert/dist/sweetalert.css');
|
|
|
|
|
2021-12-24 15:02:52 -08:00
|
|
|
import start from 'retrospring/common';
|
2022-01-09 09:16:36 -08:00
|
|
|
import initAnnouncements from 'retrospring/features/announcement';
|
2021-12-24 15:02:52 -08:00
|
|
|
import initAnswerbox from 'retrospring/features/answerbox/index';
|
|
|
|
import initInbox from 'retrospring/features/inbox/index';
|
2021-12-24 18:33:09 -08:00
|
|
|
import initUser from 'retrospring/features/user';
|
2021-12-22 16:20:47 -08:00
|
|
|
import initSettings from 'retrospring/features/settings/index';
|
2021-12-28 12:12:33 -08:00
|
|
|
import initLists from 'retrospring/features/lists';
|
2022-01-03 13:21:00 -08:00
|
|
|
import initQuestionbox from 'retrospring/features/questionbox';
|
2022-01-04 09:45:32 -08:00
|
|
|
import initQuestion from 'retrospring/features/question';
|
2022-01-07 17:51:23 -08:00
|
|
|
import initModeration from 'retrospring/features/moderation';
|
2020-12-26 09:16:08 -08:00
|
|
|
|
|
|
|
start();
|
2022-01-09 06:17:03 -08:00
|
|
|
document.addEventListener('DOMContentLoaded', initAnswerbox);
|
2022-01-03 06:04:23 -08:00
|
|
|
document.addEventListener('DOMContentLoaded', initInbox);
|
2021-12-28 12:12:33 -08:00
|
|
|
document.addEventListener('DOMContentLoaded', initUser);
|
2021-12-22 16:20:47 -08:00
|
|
|
document.addEventListener('turbolinks:load', initSettings);
|
2022-01-03 13:21:00 -08:00
|
|
|
document.addEventListener('DOMContentLoaded', initLists);
|
2022-01-04 09:13:14 -08:00
|
|
|
document.addEventListener('DOMContentLoaded', initQuestionbox);
|
2022-01-07 17:51:23 -08:00
|
|
|
document.addEventListener('DOMContentLoaded', initQuestion);
|
2022-01-09 08:26:38 -08:00
|
|
|
document.addEventListener('DOMContentLoaded', initModeration);
|
|
|
|
document.addEventListener('turbolinks:load', initAnnouncements)
|