Retrospring/app/javascript/packs/application.ts

13 lines
632 B
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-24 18:33:09 -08:00
import initUser from 'retrospring/features/user';
import initSettings from 'retrospring/features/settings/index';
2021-12-28 12:12:33 -08:00
import initLists from 'retrospring/features/lists';
start();
2021-08-10 04:16:40 -07:00
document.addEventListener('turbolinks:load', initAnswerbox);
2021-12-24 18:33:09 -08:00
document.addEventListener('turbolinks:load', initInbox);
2021-12-28 12:12:33 -08:00
document.addEventListener('DOMContentLoaded', initUser);
document.addEventListener('turbolinks:load', initSettings);
2021-12-28 12:12:33 -08:00
document.addEventListener('DOMContentLoaded', initLists);