debian-mirror-gitlab/app/assets/javascripts/pages/projects/snippets/new/index.js
2018-05-09 12:01:36 +05:30

8 lines
235 B
JavaScript

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