MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / de

Function de

web/marked.min.js:512–520  ·  view source on GitHub ↗
(l, e)

Source from the content-addressed store, hash-verified

510 return l.slice(0, n - s);
511 }
512 function de(l, e) {
513 if (l.indexOf(e[1]) === -1) return -1;
514 let t = 0;
515 for (let n = 0; n < l.length; n++)
516 if (l[n] === "\\") n++;
517 else if (l[n] === e[0]) t++;
518 else if (l[n] === e[1] && (t--, t < 0)) return n;
519 return t > 0 ? -2 : -1;
520 }
521 function me(l, e, t, n, s) {
522 let i = e.href,
523 r = e.title || null,

Callers 1

linkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected