MCPcopy
hub / github.com/Justineo/github-hovercard / isExclude

Function isExclude

src/hovercard.js:23–29  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

21 const DEFAULT_TARGET = document.body
22
23 function isExclude(target) {
24 return (
25 $(target).is(EXCLUDES) ||
26 $(target).parents(EXCLUDES).length ||
27 $(target).is(DEFAULT_TARGET)
28 )
29 }
30
31 let taskQueue = []
32

Callers 2

hovercard.jsFile · 0.70
extractFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected