MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / _preventDefault

Function _preventDefault

client/vendors/mousetrap.js:411–418  ·  view source on GitHub ↗

* prevents default for this event * * @param {Event} e * @returns void

(e)

Source from the content-addressed store, hash-verified

409 * @returns void
410 */
411 function _preventDefault(e) {
412 if (e.preventDefault) {
413 e.preventDefault();
414 return;
415 }
416
417 e.returnValue = false;
418 }
419
420 /**
421 * stops propogation for this event

Callers 1

_fireCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected