debian-mirror-gitlab/app/assets/javascripts/pages/snippets/form.js
2018-12-05 23:21:45 +05:30

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
};