(sel)
| 389 | } |
| 390 | |
| 391 | function coordsFromSel(sel) { |
| 392 | var bounds = sel.node().getBoundingClientRect(); |
| 393 | return [bounds.left + bounds.width/2, bounds.top + bounds.height/2]; |
| 394 | } |
| 395 | |
| 396 | function isVisible(el) { |
| 397 | var elemTop = el.getBoundingClientRect().top; |
nothing calls this directly
no outgoing calls
no test coverage detected