MCPcopy Index your code
hub / github.com/csev/py4e / setTextContent

Function setTextContent

tools/pythonauto/static/codemirror/codemirror.js:5684–5689  ·  view source on GitHub ↗
(e, str)

Source from the content-addressed store, hash-verified

5682 }
5683
5684 function setTextContent(e, str) {
5685 if (ie_lt9) {
5686 e.innerHTML = "";
5687 e.appendChild(document.createTextNode(str));
5688 } else e.textContent = str;
5689 }
5690
5691 function getRect(node) {
5692 return node.getBoundingClientRect();

Callers 2

patchDisplayFunction · 0.85
eltFunction · 0.85

Calls 1

appendChildMethod · 0.45

Tested by

no test coverage detected