(element)
| 130 | |
| 131 | // returns an element's width |
| 132 | var width = function width(element) { |
| 133 | return element.getBoundingClientRect().width || element.offsetWidth; |
| 134 | }; |
| 135 | // returns an element's height |
| 136 | var height = function height(element) { |
| 137 | return element.getBoundingClientRect().height || element.offsetHeight; |
nothing calls this directly
no outgoing calls
no test coverage detected