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

Function unregister

tools/pythonauto/static/codemirror/codemirror.js:1635–1639  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1633 // Here we poll to unregister it when the editor is no longer in
1634 // the document, so that it can be garbage-collected.
1635 function unregister() {
1636 for (var p = d.wrapper.parentNode; p && p != document.body; p = p.parentNode) {}
1637 if (p) setTimeout(unregister, 5000);
1638 else off(window, "resize", onResize);
1639 }
1640 setTimeout(unregister, 5000);
1641
1642 on(d.input, "keyup", operation(cm, onKeyUp));

Callers

nothing calls this directly

Calls 1

offFunction · 0.70

Tested by

no test coverage detected