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

Function X

webdiff/static/js/highlight.min.js:171–172  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

169;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"
170}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"
171}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(o),o}(e)}function X(e){
172return!!e&&(e.endsWithParent||X(e.starts))}class Z extends Error{
173constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}
174const J=n,ee=r,te=Symbol("nomatch");var ae=(t=>{
175const n=Object.create(null),r=Object.create(null),i=[];let s=!0

Callers 1

jFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected