gitlab-org--gitlab-foss/app/assets/javascripts/pages/snippets/form.js
2018-10-05 09:42:38 +00:00

17 lines
388 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,
snippets: false,
});
new ZenMode(); // eslint-disable-line no-new
};