MCPcopy Index your code
hub / github.com/Justineo/github-hovercard / getTypeClass

Function getTypeClass

src/hovercard.js:790–792  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

788 }
789
790 function getTypeClass(type) {
791 return `ghh-${type}-x`
792 }
793
794 function getFullRepoFromAncestorLink(elem) {
795 let href = elem.closest('a').prop('href')

Callers 1

markExtractedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected