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

Function addStop

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:3026–3029  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

3024 function stopMethod() {e_stop(this);}
3025 // Ensure an event has a stop method.
3026 function addStop(event) {
3027 if (!event.stop) event.stop = stopMethod;
3028 return event;
3029 }
3030
3031 function e_preventDefault(e) {
3032 if (e.preventDefault) e.preventDefault();

Callers 5

drag_Function · 0.70
onDropFunction · 0.70
onKeyDownFunction · 0.70
onKeyPressFunction · 0.70
onKeyUpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected