(e)
| 8772 | disableBrowserMagic(div, cm.options.spellcheck, cm.options.autocorrect, cm.options.autocapitalize); |
| 8773 | |
| 8774 | function belongsToInput(e) { |
| 8775 | for (var t = e.target; t; t = t.parentNode) { |
| 8776 | if (t == div) { return true } |
| 8777 | if (/\bCodeMirror-(?:line)?widget\b/.test(t.className)) { break } |
| 8778 | } |
| 8779 | return false |
| 8780 | } |
| 8781 | |
| 8782 | on(div, "paste", function (e) { |
| 8783 | if (!belongsToInput(e) || signalDOMEvent(cm, e) || handlePaste(e, cm)) { return } |
no outgoing calls
no test coverage detected