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

10 lines
426 B
JavaScript
Raw Normal View History

2020-11-24 15:15:51 +05:30
import AjaxLoadingSpinner from '~/branches/ajax_loading_spinner';
2018-03-17 18:26:18 +05:30
import DeleteModal from '~/branches/branches_delete_modal';
2019-09-30 21:07:59 +05:30
import initDiverganceGraph from '~/branches/divergence_graph';
2018-03-17 18:26:18 +05:30
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
2018-03-17 18:26:18 +05:30
AjaxLoadingSpinner.init();
new DeleteModal(); // eslint-disable-line no-new
2019-09-30 21:07:59 +05:30
initDiverganceGraph(document.querySelector('.js-branch-list').dataset.divergingCountsEndpoint);
2018-03-27 19:54:05 +05:30
});