* Get the window associated with the element * @argument {Element} element * @returns {Window}
(element)
| 3996 | |
| 3997 | |
| 3998 | function getWindow(element) { |
| 3999 | var ownerDocument = element.ownerDocument; |
| 4000 | return ownerDocument ? ownerDocument.defaultView : window; |
| 4001 | } |
| 4002 | |
| 4003 | function attachToScrollParents(scrollParent, event, callback, scrollParents) { |
| 4004 | var isBody = scrollParent.nodeName === 'BODY'; |
no outgoing calls
no test coverage detected
searching dependent graphs…