debian-mirror-gitlab/app/assets/javascripts/pages/projects/commits/show/index.js
2018-03-17 18:26:18 +05:30

9 lines
333 B
JavaScript

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