MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / D

Function D

vulnerablecode/static/js/highlight-10.6.0.min.js:166–167  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

164;i.reverse().forEach(l)
165}else"start"===t[0].event?i.push(t[0].node):i.pop(),u(t.splice(0,1)[0])}
166return a+r(n.substr(s))})(s,C(a),n)}};function D(e){
167return e.nodeName.toLowerCase()}function C(e){const t=[];return function e(n,s){
168for(let r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?s+=r.nodeValue.length:1===r.nodeType&&(t.push({
169event:"start",offset:s,node:r}),s=e(r,s),D(r).match(/br|hr|img|input/)||t.push({
170event:"stop",offset:s,node:r}));return s}(e,0),t}const H=e=>{console.error(e)

Callers 3

lFunction · 0.85
cFunction · 0.85
CFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected