form.js 367 Bytes
Newer Older
1
import $ from 'jquery';
2 3 4
import GLForm from '~/gl_form';
import ZenMode from '~/zen_mode';

Clement Ho's avatar
Clement Ho committed
5
export default () => {
6 7 8 9 10
  // eslint-disable-next-line no-new
  new GLForm($('.snippet-form'), {
    members: false,
    issues: false,
    mergeRequests: false,
11
    epics: false,
12 13 14
    milestones: false,
    labels: false,
  });
15
  new ZenMode(); // eslint-disable-line no-new
Clement Ho's avatar
Clement Ho committed
16
};