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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
387 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-11-11 11:23:49 +05:30
import { initDiffStatsDropdown } from '~/init_diff_stats_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;
2021-11-11 11:23:49 +05:30
initDiffStatsDropdown(document.querySelector('.navbar-gitlab').offsetHeight - paddingTop);
2021-10-27 15:23:28 +05:30
GpgBadges.fetch();