MCPcopy
hub / github.com/csev/py4e / eltText

Function eltText

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:3174–3176  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

3172
3173 // Get a node's text content.
3174 function eltText(node) {
3175 return node.textContent || node.innerText || node.nodeValue || "";
3176 }
3177 function selectInput(node) {
3178 if (ios) { // Mobile Safari apparently has a bug where select() is broken.
3179 node.selectionStart = 0;

Callers 1

updateGutterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected