MCPcopy Create free account
hub / github.com/idank/explainshell / e

Function e

explainshell/web/static/js/highlight.min.js:6–12  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

4 License: BSD-3-Clause
5 */
6 var hljs=function(){"use strict";function e(t){
7 return t instanceof Map?t.clear=t.delete=t.set=()=>{
8 throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{
9 throw Error("set is read-only")
10 }),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{
11 const i=t[n],s=typeof i;"object"!==s&&"function"!==s||Object.isFrozen(i)||e(i)
12 })),t}class t{constructor(e){
13 void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}
14 ignoreMatch(){this.isMatchIgnored=!0}}function n(e){
15 return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")

Callers 2

VFunction · 0.70
teFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected