MCPcopy Create free account
hub / github.com/danvk/webdiff / Q

Function Q

webdiff/static/js/highlight.min.js:109–111  ·  view source on GitHub ↗
(e,t,{key:a})

Source from the content-addressed store, hash-verified

107console.error(e)},z=(e,...t)=>{console.log("WARN: "+e,...t)},$=(e,t)=>{
108V[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),V[`${e}/${t}`]=!0)
109},W=Error();function Q(e,t,{key:a}){let n=0;const r=e[a],i={},s={}
110;for(let e=1;e<=t.length;e++)s[e+n]=r[e],i[e+n]=!0,n+=S(t[e-1])
111;e[a]=s,e[a]._emit=i,e[a]._multi=!0}function K(e){(e=>{
112e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,
113delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={
114_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope

Callers 1

KFunction · 0.85

Calls 1

SFunction · 0.70

Tested by

no test coverage detected