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

12 lines
376 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import Diff from '~/diff';
2018-10-15 14:42:47 +05:30
import GpgBadges from '~/gpg_badges';
2021-03-11 19:13:27 +05:30
import initChangesDropdown from '~/init_changes_dropdown';
2021-04-17 20:07:23 +05:30
import initCompareSelector from '~/projects/compare';
initCompareSelector();
2018-03-17 18:26:18 +05:30
2021-10-27 15:23:28 +05:30
new Diff(); // eslint-disable-line no-new
const paddingTop = 16;
initChangesDropdown(document.querySelector('.navbar-gitlab').offsetHeight - paddingTop);
GpgBadges.fetch();