debian-mirror-gitlab/app/assets/javascripts/shared/milestones/form.js

10 lines
347 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
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
};