MCPcopy Index your code
hub / github.com/TruthHun/BookStack / hasHandler

Function hasHandler

static/editor.md/lib/codemirror/lib/codemirror.js:7995–7998  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

7993 }
7994
7995 function hasHandler(emitter, type) {
7996 var arr = emitter._handlers && emitter._handlers[type];
7997 return arr && arr.length > 0;
7998 }
7999
8000 // Add on and off methods to a constructor's prototype, to make
8001 // registering events on such objects more convenient.

Callers 7

codemirror.jsFile · 0.70
setSelectionNoUndoFunction · 0.70
gutterEventFunction · 0.70
contextMenuInGutterFunction · 0.70
makeChangeFunction · 0.70
makeChangeFromHistoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected