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

Function hasHandler

static/mergely/lib/codemirror.js:8232–8234  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

8230 }
8231
8232 function hasHandler(emitter, type) {
8233 return getHandlers(emitter, type).length > 0
8234 }
8235
8236 // Add on and off methods to a constructor's prototype, to make
8237 // 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 1

getHandlersFunction · 0.85

Tested by

no test coverage detected