(el)
| 38 | } |
| 39 | |
| 40 | function getParentOrHost(el) { |
| 41 | return (el.host && el !== document && el.host.nodeType && el.host !== el) |
| 42 | ? el.host |
| 43 | : el.parentNode; |
| 44 | } |
| 45 | |
| 46 | function closest(/**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) { |
| 47 | if (el) { |
no outgoing calls
no test coverage detected
searching dependent graphs…