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

Function addStop

static/js/codemirror/codemirror.js:4816–4819  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

4814 function stopMethod() {e_stop(this);}
4815 // Ensure an event has a stop method.
4816 function addStop(event) {
4817 if (!event.stop) event.stop = stopMethod;
4818 return event;
4819 }
4820
4821 function e_preventDefault(e) {
4822 if (e.preventDefault) e.preventDefault();

Callers 5

registerEventHandlersFunction · 0.85
drag_Function · 0.85
onDropFunction · 0.85
onKeyDownFunction · 0.85
onKeyPressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected