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

Function i

pages/viewScriptSource/libs/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 n{constructor(e){
13void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}
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){

Callers 1

addTextMethod · 0.70

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected