debian-mirror-gitlab/app/assets/javascripts/pages/projects/blob/new/index.js
2020-04-08 14:13:33 +05:30

12 lines
315 B
JavaScript

import initBlobBundle from '~/blob_edit/blob_bundle';
import initPopover from '~/blob/suggest_gitlab_ci_yml';
document.addEventListener('DOMContentLoaded', () => {
initBlobBundle();
const suggestEl = document.querySelector('.js-suggest-gitlab-ci-yml');
if (suggestEl) {
initPopover(suggestEl);
}
});