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

Function n

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

Source from the content-addressed store, hash-verified

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

Callers 5

addTextMethod · 0.70
highlight.min.jsFile · 0.70
gFunction · 0.70
hFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected