MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / i

Function i

hyperagent-ext/media/scripts/highlight.min.js:16–17  ·  view source on GitHub ↗
(e,...n)

Source from the content-addressed store, hash-verified

14 ignoreMatch(){this.isMatchIgnored=!0}}function a(e){
15 return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")
16 }function i(e,...n){const t=Object.create(null);for(const n in e)t[n]=e[n]
17 ;return n.forEach((e=>{for(const n in e)t[n]=e[n]})),t}
18 const r=e=>!!e.scope||e.sublanguage&&e.language;class s{constructor(e,n){
19 this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){
20 this.buffer+=a(e)}openNode(e){if(!r(e))return;let n=""

Callers 4

MFunction · 0.70
highlight.min.jsFile · 0.70
UFunction · 0.70
QFunction · 0.70

Calls 3

jFunction · 0.85
mapMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected