2021-04-29 21:17:54 +05:30
|
|
|
import initDeprecatedRemoveRowBehavior from '~/behaviors/deprecated_remove_row_behavior';
|
2020-11-24 15:15:51 +05:30
|
|
|
import AjaxLoadingSpinner from '~/branches/ajax_loading_spinner';
|
2021-04-29 21:17:54 +05:30
|
|
|
import BranchSortDropdown from '~/branches/branch_sort_dropdown';
|
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
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
AjaxLoadingSpinner.init();
|
|
|
|
new DeleteModal(); // eslint-disable-line no-new
|
2021-04-29 21:17:54 +05:30
|
|
|
|
|
|
|
const { divergingCountsEndpoint, defaultBranch } = document.querySelector(
|
|
|
|
'.js-branch-list',
|
|
|
|
).dataset;
|
|
|
|
|
|
|
|
initDiverganceGraph(divergingCountsEndpoint, defaultBranch);
|
|
|
|
BranchSortDropdown();
|
|
|
|
initDeprecatedRemoveRowBehavior();
|