show.js 593 Bytes
Newer Older
1 2
import initIssuableSidebar from '~/init_issuable_sidebar';
import Issue from '~/issue';
3
import ShortcutsIssuable from '~/behaviors/shortcuts/shortcuts_issuable';
4 5
import ZenMode from '~/zen_mode';
import '~/notes/index';
6
import initIssueableApp from '~/issue_show';
7
import initRelatedMergeRequestsApp from '~/related_merge_requests';
8

9
export default function() {
10
  initIssueableApp();
11
  initRelatedMergeRequestsApp();
12 13 14 15 16
  new Issue(); // eslint-disable-line no-new
  new ShortcutsIssuable(); // eslint-disable-line no-new
  new ZenMode(); // eslint-disable-line no-new
  initIssuableSidebar();
}