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

Function contains

tools/pythonauto/static/codemirrorepl/codemirror.js:7053–7058  ·  view source on GitHub ↗
(parent, child)

Source from the content-addressed store, hash-verified

7051 }
7052
7053 function contains(parent, child) {
7054 if (parent.contains)
7055 return parent.contains(child);
7056 while (child = child.parentNode)
7057 if (child == parent) return true;
7058 }
7059
7060 function activeElt() { return document.activeElement; }
7061 // Older versions of IE throws unspecified error when touching

Callers 2

unregisterFunction · 0.70
widgetHeightFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected