MCPcopy
hub / github.com/refined-github/refined-github / init

Function init

source/features/embed-gist-inline.tsx:61–67  ·  view source on GitHub ↗
(signal: AbortSignal)

Source from the content-addressed store, hash-verified

59}
60
61function init(signal: AbortSignal): void {
62 observe(standaloneGistLinkInMarkdown, link => {
63 if (pageDetect.isGistFile(link) && isOnlyChild(link)) {
64 void embedGist(link);
65 }
66 }, {signal});
67}
68
69void features.add(import.meta.url, {
70 include: [

Callers

nothing calls this directly

Calls 3

observeFunction · 0.85
isOnlyChildFunction · 0.85
embedGistFunction · 0.85

Tested by

no test coverage detected