MCPcopy Create free account
hub / github.com/azimjohn/jprq / createElementFromHTML

Function createElementFromHTML

cli/debugger/static/script.js:28–32  ·  view source on GitHub ↗
(htmlString)

Source from the content-addressed store, hash-verified

26}
27
28function createElementFromHTML(htmlString) {
29 var div = document.createElement("div");
30 div.innerHTML = htmlString.trim();
31 return div;
32}
33
34const getMethodColor = (method) => {
35 const colors = {

Callers 5

addRequestFunction · 0.85
updateRequestHeadersFunction · 0.85
updateResponseHeadersFunction · 0.85
updateResponseBodyFunction · 0.85
updateRequestBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected