MCPcopy Index your code
hub / github.com/csev/py4e / hasHandler

Function hasHandler

tools/pythonauto/static/codemirrorepl/codemirror.js:6880–6883  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

6878 }
6879
6880 function hasHandler(emitter, type) {
6881 var arr = emitter._handlers && emitter._handlers[type];
6882 return arr && arr.length > 0;
6883 }
6884
6885 // Add on and off methods to a constructor's prototype, to make
6886 // registering events on such objects more convenient.

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected