9 lines
426 B
JavaScript
9 lines
426 B
JavaScript
import AjaxLoadingSpinner from '~/branches/ajax_loading_spinner';
|
|
import DeleteModal from '~/branches/branches_delete_modal';
|
|
import initDiverganceGraph from '~/branches/divergence_graph';
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
AjaxLoadingSpinner.init();
|
|
new DeleteModal(); // eslint-disable-line no-new
|
|
initDiverganceGraph(document.querySelector('.js-branch-list').dataset.divergingCountsEndpoint);
|
|
});
|