2018-03-09 15:18:59 -05:00
|
|
|
import $ from 'jquery';
|
2018-01-11 07:46:13 -05:00
|
|
|
import GLForm from '~/gl_form';
|
|
|
|
import ZenMode from '~/zen_mode';
|
|
|
|
|
2018-01-11 12:47:17 -05:00
|
|
|
export default () => {
|
2018-06-21 07:54:17 -04:00
|
|
|
// eslint-disable-next-line no-new
|
|
|
|
new GLForm($('.snippet-form'), {
|
|
|
|
members: false,
|
|
|
|
issues: false,
|
|
|
|
mergeRequests: false,
|
2018-06-28 02:41:56 -04:00
|
|
|
epics: false,
|
2018-06-21 07:54:17 -04:00
|
|
|
milestones: false,
|
|
|
|
labels: false,
|
2018-10-05 05:42:38 -04:00
|
|
|
snippets: false,
|
2018-06-21 07:54:17 -04:00
|
|
|
});
|
2018-01-11 07:46:13 -05:00
|
|
|
new ZenMode(); // eslint-disable-line no-new
|
2018-01-11 12:51:12 -05:00
|
|
|
};
|