(cm, e, override)
| 6873 | // registering a (non-DOM) handler on the editor for the event name, |
| 6874 | // and preventDefault-ing the event in that handler. |
| 6875 | function signalDOMEvent(cm, e, override) { |
| 6876 | signal(cm, override || e.type, cm, e); |
| 6877 | return e_defaultPrevented(e) || e.codemirrorIgnore; |
| 6878 | } |
| 6879 | |
| 6880 | function hasHandler(emitter, type) { |
| 6881 | var arr = emitter._handlers && emitter._handlers[type]; |
no test coverage detected