MCPcopy
hub / github.com/DHTMLX/gantt / hasHandler

Function hasHandler

samples/common/codehighlight/codemirror.js:589–591  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

587 }
588
589 function hasHandler(emitter, type) {
590 return getHandlers(emitter, type).length > 0
591 }
592
593 // Add on and off methods to a constructor's prototype, to make
594 // registering events on such objects more convenient.

Callers 7

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

Calls 1

getHandlersFunction · 0.85

Tested by

no test coverage detected