blob: 3765ee65cdca22a11f5773bc6bab76d4293c9907 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/**
* Functions to execute when the DOM is ready
*/
import { whenReady, setupGlobalEvents } from './utils/dom';
import { showOwnedComments } from './communications/comment';
import { showOwnedPosts } from './communications/post';
import { listenAutocomplete } from './autocomplete';
import { loadBooruData } from './booru';
import { registerEvents } from './boorujs';
import { setupBurgerMenu } from './burger';
import { bindCaptchaLinks } from './captcha';
import { setupComments } from './comment';
import { setupDupeReports } from './duplicate_reports.js';
import { setupGalleryEditing } from './galleries';
import { initImagesClientside } from './imagesclientside';
import { bindImageTarget } from './image_expansion';
import { setupEvents, setupUsernameSubstitutions } from './misc';
import { setupNotifications } from './notifications';
import { setupPreviews } from './preview';
import { setupSettings } from './settings';
import { listenForKeys } from './shortcuts';
import { initTagDropdown } from './tags';
import { setupTagListener } from './tagsinput';
import { setupTagEvents } from './tagsmisc';
import { setupTimestamps } from './timeago';
import { setupImageUpload } from './upload';
import { setupSearch } from './search';
import { setupToolbar } from './textiletoolbar';
import { pollOptionCreator } from './poll';
import { setupSyntaxHighlighting } from "./syntax-highlighting";
import { setupBatchSelect } from "./batch-select";
import { setupReportWarnings } from "./reports";
whenReady(() => {
showOwnedComments();
showOwnedPosts();
loadBooruData();
listenAutocomplete();
registerEvents();
setupBurgerMenu();
bindCaptchaLinks();
initImagesClientside();
setupComments();
setupDupeReports();
setupGalleryEditing();
bindImageTarget();
setupEvents();
setupNotifications();
setupPreviews();
setupBatchSelect();
setupSettings();
listenForKeys();
initTagDropdown();
setupTagListener();
setupTagEvents();
setupTimestamps();
setupImageUpload();
setupSearch();
setupToolbar();
pollOptionCreator();
setupUsernameSubstitutions();
setupSyntaxHighlighting();
setupGlobalEvents();
setupReportWarnings();
});
|