(element)
| 121 | }; |
| 122 | |
| 123 | var offset = function offset(element) { |
| 124 | var rect = element.getBoundingClientRect(); |
| 125 | return { |
| 126 | top: rect.top + document.body.scrollTop, |
| 127 | left: rect.left + document.body.scrollLeft |
| 128 | }; |
| 129 | }; |
| 130 | |
| 131 | // returns an element's width |
| 132 | var width = function width(element) { |
nothing calls this directly
no outgoing calls
no test coverage detected