(elem)
| 47 | } |
| 48 | } |
| 49 | function getWindow(elem) { |
| 50 | return isWindow(elem) ? elem : elem.nodeType === 9 ? elem.defaultView || elem.parentWindow : false; |
| 51 | } |
| 52 | DependencyLib.prototype = { |
| 53 | on: function(events, handler) { |
| 54 | if (isValidElement(this[0])) { |
nothing calls this directly
no test coverage detected