MCPcopy Index your code
hub / github.com/refined-github/refined-github / init

Function init

source/features/linkify-pr-review-state.tsx:41–53  ·  view source on GitHub ↗
(signal: AbortSignal)

Source from the content-addressed store, hash-verified

39}
40
41function init(signal: AbortSignal): void {
42 observe(
43 [
44 'span[class^="ReviewDecision-module__reviewDecisionContent"]',
45
46 // Note: This feature alters the `href` so this selector cannot be used by any other features
47 // TODO [2027-01-01]: Drop selector when the old PR list is removed
48 '.js-issue-row .text-small a[href$="#partial-pull-merging"]',
49 ],
50 alterLink,
51 {signal},
52 );
53}
54
55void features.add(import.meta.url, {
56 include: [

Callers

nothing calls this directly

Calls 1

observeFunction · 0.85

Tested by

no test coverage detected