MCPcopy
hub / github.com/hokein/electron-sample-apps / e_preventDefault

Function e_preventDefault

mini-code-editor/cm/lib/codemirror.js:2831–2834  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

2829 }
2830
2831 function e_preventDefault(e) {
2832 if (e.preventDefault) e.preventDefault();
2833 else e.returnValue = false;
2834 }
2835 function e_stopPropagation(e) {
2836 if (e.stopPropagation) e.stopPropagation();
2837 else e.cancelBubble = true;

Callers 8

onMouseDownFunction · 0.85
dragEndFunction · 0.85
doneFunction · 0.85
onDoubleClickFunction · 0.85
handleKeyBindingFunction · 0.85
handleCharBindingFunction · 0.85
onKeyPressFunction · 0.85
e_stopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected