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

Function signalDOMEvent

tools/pythonauto/static/codemirrorepl/codemirror.js:6875–6878  ·  view source on GitHub ↗
(cm, e, override)

Source from the content-addressed store, hash-verified

6873 // registering a (non-DOM) handler on the editor for the event name,
6874 // and preventDefault-ing the event in that handler.
6875 function signalDOMEvent(cm, e, override) {
6876 signal(cm, override || e.type, cm, e);
6877 return e_defaultPrevented(e) || e.codemirrorIgnore;
6878 }
6879
6880 function hasHandler(emitter, type) {
6881 var arr = emitter._handlers && emitter._handlers[type];

Callers 9

registerEventHandlersFunction · 0.70
drag_Function · 0.70
onMouseDownFunction · 0.70
onDropFunction · 0.70
onDragStartFunction · 0.70
onKeyDownFunction · 0.70
onKeyUpFunction · 0.70
onKeyPressFunction · 0.70
onContextMenuFunction · 0.70

Calls 2

signalFunction · 0.85
e_defaultPreventedFunction · 0.70

Tested by

no test coverage detected