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

10 lines
394 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import CommitsList from '~/commits';
import GpgBadges from '~/gpg_badges';
import ShortcutsNavigation from '~/shortcuts_navigation';
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
});