debian-mirror-gitlab/app/assets/javascripts/pages/snippets/form.js
2018-11-08 19:23:39 +05:30

16 lines
367 B
JavaScript

import $ from 'jquery';
import GLForm from '~/gl_form';
import ZenMode from '~/zen_mode';
export default () => {
// eslint-disable-next-line no-new
new GLForm($('.snippet-form'), {
members: false,
issues: false,
mergeRequests: false,
epics: false,
milestones: false,
labels: false,
});
new ZenMode(); // eslint-disable-line no-new
};