blob: 0e66c3521dd594d75492e5a7f89eb74526653cc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* eslint-disable no-new */
import $ from 'jquery';
import IssuableForm from 'ee_else_ce/issuable/issuable_form';
import IssuableLabelSelector from '~/issuable/issuable_label_selector';
import { addShortcutsExtension } from '~/behaviors/shortcuts';
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
import LabelsSelect from '~/labels/labels_select';
import { mountMilestoneDropdown } from '~/sidebar/mount_sidebar';
export default () => {
addShortcutsExtension(ShortcutsNavigation);
new IssuableForm($('.merge-request-form'));
IssuableLabelSelector();
new LabelsSelect();
mountMilestoneDropdown('[name="merge_request[milestone_id]"]');
};
|