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
|
|
|
|
2020-04-22 19:07:51 +05:30
|
|
|
import mountCommits from '~/projects/commits';
|
|
|
|
|
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();
|
2020-04-22 19:07:51 +05:30
|
|
|
mountCommits(document.getElementById('js-author-dropdown'));
|
2018-03-27 19:54:05 +05:30
|
|
|
});
|