debian-mirror-gitlab/app/assets/javascripts/pages/projects/snippets/new/index.js
2018-03-27 19:54:05 +05:30

7 lines
211 B
JavaScript

import initSnippet from '~/snippet/snippet_bundle';
import initForm from '~/pages/projects/init_form';
document.addEventListener('DOMContentLoaded', () => {
initSnippet();
initForm($('.snippet-form'));
});