Files
CTFd/assets/js/index.js
Kevin Chung a64e7d51ef Squashed 'CTFd/themes/core-beta/' changes from 9126d77d..5ce3003b
5ce3003b Merge pull request #47 from aCursedComrade/patch-1
c9887cb1 Fix team template

git-subtree-dir: CTFd/themes/core-beta
git-subtree-split: 5ce3003b4d68352e629ee2d390bc999e7d6b071e
2023-06-11 15:56:28 -04:00

36 lines
745 B
JavaScript

import CTFd from "@ctfdio/ctfd-js";
import dayjs from "dayjs";
import advancedFormat from "dayjs/plugin/advancedFormat";
import times from "./theme/times";
import styles from "./theme/styles";
import highlight from "./theme/highlight";
import alerts from "./utils/alerts";
import tooltips from "./utils/tooltips";
import collapse from "./utils/collapse";
import eventAlerts from "./utils/notifications/alerts";
import eventToasts from "./utils/notifications/toasts";
import eventRead from "./utils/notifications/read";
dayjs.extend(advancedFormat);
CTFd.init(window.init);
(() => {
styles();
times();
highlight();
alerts();
tooltips();
collapse();
eventRead();
eventAlerts();
eventToasts();
})();
export default CTFd;