MCPcopy Create free account
hub / github.com/breck7/scroll / hasHandler

Function hasHandler

external/.scrollLibs.js:2008–2010  ·  view source on GitHub ↗
(emitter, type)

Source from the content-addressed store, hash-verified

2006 }
2007
2008 function hasHandler(emitter, type) {
2009 return getHandlers(emitter, type).length > 0
2010 }
2011
2012 // Add on and off methods to a constructor's prototype, to make
2013 // registering events on such objects more convenient.

Callers 7

.scrollLibs.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