MCPcopy
hub / github.com/CodeboxIDE/codebox / _stopPropagation

Function _stopPropagation

client/vendors/mousetrap.js:426–433  ·  view source on GitHub ↗

* stops propogation for this event * * @param {Event} e * @returns void

(e)

Source from the content-addressed store, hash-verified

424 * @returns void
425 */
426 function _stopPropagation(e) {
427 if (e.stopPropagation) {
428 e.stopPropagation();
429 return;
430 }
431
432 e.cancelBubble = true;
433 }
434
435 /**
436 * actually calls the callback function

Callers 1

_fireCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected