MCPcopy Create free account
hub / github.com/sql-js/sql.js / hasHandler

Function hasHandler

GUI/codemirror/lib/codemirror.js:6938–6941  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

6936 }
6937
6938 function hasHandler(emitter, type) {
6939 var arr = emitter._handlers && emitter._handlers[type];
6940 return arr && arr.length > 0;
6941 }
6942
6943 // Add on and off methods to a constructor's prototype, to make
6944 // registering events on such objects more convenient.

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…