MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / search.js

File search.js

docs/src/assets/search.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const root = document.currentScript.src.split("/").slice(0, -1).join("/");
2
3function escapeHTML(html) {
4 return document.createElement('div').appendChild(document.createTextNode(html)).parentNode.innerHTML;

Callers

nothing calls this directly

Calls 13

onInputFunction · 0.85
getSearchTermFunction · 0.85
addEventListenerMethod · 0.80
initializeFunction · 0.70
joinMethod · 0.45
sliceMethod · 0.45
splitMethod · 0.45
setMethod · 0.45
deleteMethod · 0.45
toStringMethod · 0.45
addMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected