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