~sirn/fanboi2

ref: 5b482cfc1bfb0bb1e89715cb57c7bac864391768 fanboi2/assets/app/javascripts/app.ts -rw-r--r-- 824 bytes
5b482cfcKridsada Thanabulpong 0.30.0 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import domready = require('domready');
import {BoardSelector} from './components/board_selector';
import {ThemeSelector} from './components/theme_selector';
import {AnchorPopover} from './components/anchor_popover';
import {TopicManager} from './components/topic_manager';
import {TopicReloader} from './components/topic_reloader';
import {TopicStateTracker} from './components/topic_state_tracker';
import {TopicInlineReply} from './components/topic_inline_reply';
import {TopicQuickReply} from './components/topic_quick_reply';


domready(function(): void {
    new BoardSelector();
    new ThemeSelector();
    new AnchorPopover();

    // Components with topic manager dependencies.
    new TopicManager();
    new TopicReloader();
    new TopicStateTracker();
    new TopicInlineReply();
    new TopicQuickReply();
});