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

Function l

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

Source from the content-addressed store, hash-verified

156;a.innerHTML=t.value,t.value=((e,t,n)=>{let s=0,a="";const i=[];function o(){
157return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t
158}function l(e){a+="<"+D(e)+[].map.call(e.attributes,(function(e){
159return" "+e.nodeName+'="'+r(e.value)+'"'})).join("")+">"}function c(e){
160a+="</"+D(e)+">"}function u(e){("start"===e.event?l:c)(e.node)}
161for(;e.length||t.length;){let t=o()
162;if(a+=r(n.substring(s,t[0].offset)),s=t[0].offset,t===e){i.reverse().forEach(c)

Callers 1

Calls 3

DFunction · 0.85
nFunction · 0.85
rFunction · 0.70

Tested by

no test coverage detected