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

10 lines
414 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import CommitsList from '~/commits';
import GpgBadges from '~/gpg_badges';
2018-12-05 23:21:45 +05:30
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
2018-03-17 18:26:18 +05:30
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
new CommitsList(document.querySelector('.js-project-commits-show').dataset.commitsLimit); // eslint-disable-line no-new
2018-03-17 18:26:18 +05:30
new ShortcutsNavigation(); // eslint-disable-line no-new
GpgBadges.fetch();
2018-03-27 19:54:05 +05:30
});