MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / e_preventDefault

Function e_preventDefault

static/js/codemirror/codemirror.js:4821–4824  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

4819 }
4820
4821 function e_preventDefault(e) {
4822 if (e.preventDefault) e.preventDefault();
4823 else e.returnValue = false;
4824 }
4825 function e_stopPropagation(e) {
4826 if (e.stopPropagation) e.stopPropagation();
4827 else e.cancelBubble = true;

Callers 10

registerEventHandlersFunction · 0.85
onMouseDownFunction · 0.85
doneFunction · 0.85
onDropFunction · 0.85
clickInGutterFunction · 0.85
onScrollWheelFunction · 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