debian-mirror-gitlab/app/assets/javascripts/pages/snippets/form.js

17 lines
367 B
JavaScript
Raw Normal View History

2018-05-09 12:01:36 +05:30
import $ from 'jquery';
2018-03-17 18:26:18 +05:30
import GLForm from '~/gl_form';
import ZenMode from '~/zen_mode';
export default () => {
2018-11-08 19:23:39 +05:30
// eslint-disable-next-line no-new
new GLForm($('.snippet-form'), {
members: false,
issues: false,
mergeRequests: false,
epics: false,
milestones: false,
labels: false,
});
2018-03-17 18:26:18 +05:30
new ZenMode(); // eslint-disable-line no-new
};