debian-mirror-gitlab/app/assets/javascripts/pages/projects/snippets/edit/index.js

9 lines
235 B
JavaScript
Raw Normal View History

2018-05-09 12:01:36 +05:30
import $ from 'jquery';
2018-03-27 19:54:05 +05:30
import initSnippet from '~/snippet/snippet_bundle';
2018-03-17 18:26:18 +05:30
import initForm from '~/pages/projects/init_form';
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
initSnippet();
initForm($('.snippet-form'));
});