* Get the window associated with the element * @argument {Element} element * @returns {Window}
(element)
| 2519 | * @returns {Window} |
| 2520 | */ |
| 2521 | function getWindow(element) { |
| 2522 | var ownerDocument = element.ownerDocument; |
| 2523 | return ownerDocument ? ownerDocument.defaultView : window; |
| 2524 | } |
| 2525 | |
| 2526 | function attachToScrollParents(scrollParent, event, callback, scrollParents) { |
| 2527 | var isBody = scrollParent.nodeName === 'BODY'; |
no outgoing calls
no test coverage detected