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

Function e_preventDefault

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:3031–3034  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

3029 }
3030
3031 function e_preventDefault(e) {
3032 if (e.preventDefault) e.preventDefault();
3033 else e.returnValue = false;
3034 }
3035 function e_stopPropagation(e) {
3036 if (e.stopPropagation) e.stopPropagation();
3037 else e.cancelBubble = true;

Callers 15

onMouseDownFunction · 0.70
dragEndFunction · 0.70
doneFunction · 0.70
onDoubleClickFunction · 0.70
handleKeyBindingFunction · 0.70
handleCharBindingFunction · 0.70
onKeyPressFunction · 0.70
e_stopFunction · 0.70
registerEventHandlersFunction · 0.70
onMouseDownFunction · 0.70
leftButtonStartDragFunction · 0.70
leftButtonSelectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected