blob: b02307525095fcd613ebc27b11d338d0273ac15d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import {$$} from 'select-dom';
import * as pageDetect from 'github-url-detection';
import features from '../feature-manager.js';
function init(): void {
for (const author of $$('.js-navigation-container a.commit-author')) {
author.pathname = location.pathname;
}
}
void features.add(import.meta.url, {
include: [
pageDetect.isRepoCommitList,
],
awaitDomReady: true, // Small page
init,
});
|