MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / r

Function r

pages/viewScriptSource/libs/highlight.min.js:16–17  ·  view source on GitHub ↗
(e,...t)

Source from the content-addressed store, hash-verified

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

Callers 4

MFunction · 0.70
highlight.min.jsFile · 0.70
$Function · 0.70
VFunction · 0.70

Calls 1

UFunction · 0.70

Tested by

no test coverage detected