debian-mirror-gitlab/app/assets/javascripts/shared/milestones/form.js
2018-05-09 12:01:36 +05:30

10 lines
371 B
JavaScript

import $ from 'jquery';
import ZenMode from '../../zen_mode';
import DueDateSelectors from '../../due_date_select';
import GLForm from '../../gl_form';
export default (initGFM = true) => {
new ZenMode(); // eslint-disable-line no-new
new DueDateSelectors(); // eslint-disable-line no-new
new GLForm($('.milestone-form'), initGFM); // eslint-disable-line no-new
};