debian-mirror-gitlab/app/assets/javascripts/pages/projects/blob/new/index.js

13 lines
315 B
JavaScript
Raw Normal View History

2018-03-27 19:54:05 +05:30
import initBlobBundle from '~/blob_edit/blob_bundle';
2020-04-08 14:13:33 +05:30
import initPopover from '~/blob/suggest_gitlab_ci_yml';
2018-03-27 19:54:05 +05:30
2020-04-08 14:13:33 +05:30
document.addEventListener('DOMContentLoaded', () => {
initBlobBundle();
const suggestEl = document.querySelector('.js-suggest-gitlab-ci-yml');
if (suggestEl) {
initPopover(suggestEl);
}
});