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

Function init

source/features/fit-textareas.tsx:17–30  ·  view source on GitHub ↗
(signal: AbortSignal)

Source from the content-addressed store, hash-verified

15}
16
17function init(signal: AbortSignal): void {
18 observe(
19 'textarea' + not(
20 // `anchored-position`: Exclude PR review box because it's in a `position:fixed` container; The scroll HAS to appear within the fixed element.
21 'anchored-position #pull_request_review_body',
22
23 // `#pull_request_body_ghost`: Special textarea that GitHub just matches to the visible textarea
24 '#pull_request_body_ghost',
25 '#pull_request_body_ghost_ruler',
26 ),
27 watchTextarea,
28 {signal},
29 );
30}
31
32void features.add(import.meta.url, {
33 include: [

Callers

nothing calls this directly

Calls 2

observeFunction · 0.85
notFunction · 0.85

Tested by

no test coverage detected