debian-mirror-gitlab/app/assets/javascripts/pages/projects/commits/show/index.js
2018-03-27 19:54:05 +05:30

9 lines
394 B
JavaScript

import CommitsList from '~/commits';
import GpgBadges from '~/gpg_badges';
import ShortcutsNavigation from '~/shortcuts_navigation';
document.addEventListener('DOMContentLoaded', () => {
new CommitsList(document.querySelector('.js-project-commits-show').dataset.commitsLimit); // eslint-disable-line no-new
new ShortcutsNavigation(); // eslint-disable-line no-new
GpgBadges.fetch();
});