(emitter, type)
| 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…