MCPcopy
hub / github.com/witheve/Eve / getHandlers

Function getHandlers

src/codemirror.js:8189–8193  ·  view source on GitHub ↗
(emitter, type, copy)

Source from the content-addressed store, hash-verified

8187
8188 var noHandlers = []
8189 function getHandlers(emitter, type, copy) {
8190 var arr = emitter._handlers && emitter._handlers[type]
8191 if (copy) return arr && arr.length > 0 ? arr.slice() : noHandlers
8192 else return arr || noHandlers
8193 }
8194
8195 var off = CodeMirror.off = function(emitter, type, f) {
8196 if (emitter.removeEventListener)

Callers 3

codemirror.jsFile · 0.85
signalLaterFunction · 0.85
hasHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected