retrospring/app/javascript/application.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1.4 KiB
TypeScript
Raw Normal View History

import start from 'retrospring/common';
import initAnswerbox from 'retrospring/features/answerbox/index';
import initInbox from 'retrospring/features/inbox/index';
2021-12-25 03:33:09 +01:00
import initUser from 'retrospring/features/user';
import initSettings from 'retrospring/features/settings/index';
2021-12-28 21:12:33 +01:00
import initLists from 'retrospring/features/lists';
import initQuestionbox from 'retrospring/features/questionbox';
import initQuestion from 'retrospring/features/question';
2022-01-08 02:51:23 +01:00
import initModeration from 'retrospring/features/moderation';
2022-01-13 23:01:42 +01:00
import initMemes from 'retrospring/features/memes';
2022-04-10 02:37:54 +02:00
import initFront from 'retrospring/features/front';
import initWebpush from 'retrospring/features/webpush';
import initWebpushSettingsButtons from 'retrospring/features/webpush/settingsButtons';
start();
document.addEventListener('DOMContentLoaded', initAnswerbox);
document.addEventListener('DOMContentLoaded', initInbox);
2021-12-28 21:12:33 +01:00
document.addEventListener('DOMContentLoaded', initUser);
document.addEventListener('turbo:load', initSettings);
document.addEventListener('DOMContentLoaded', initLists);
document.addEventListener('turbo:load', initQuestionbox);
2022-01-08 02:51:23 +01:00
document.addEventListener('DOMContentLoaded', initQuestion);
document.addEventListener('DOMContentLoaded', initModeration);
2022-01-13 23:01:42 +01:00
document.addEventListener('DOMContentLoaded', initMemes);
2022-10-02 22:09:01 +02:00
document.addEventListener('turbo:load', initFront);
document.addEventListener('DOMContentLoaded', initWebpush);
document.addEventListener('turbo:load', initWebpushSettingsButtons);
2022-10-02 22:09:01 +02:00
2023-01-06 08:34:41 +01:00