(el)
| 394 | } |
| 395 | |
| 396 | function getElementPosition(el) { |
| 397 | var |
| 398 | elPosition = el.getBoundingClientRect(), |
| 399 | pagePosition = getPagePosition(); |
| 400 | |
| 401 | return { |
| 402 | x: parseInt(elPosition.left,10) + parseInt(pagePosition.x,10), |
| 403 | y: parseInt(elPosition.top,10) + parseInt(pagePosition.y,10) |
| 404 | }; |
| 405 | } |
| 406 | |
| 407 | function findTarget(location) { |
| 408 | function jumpToTarget(target) { |
no test coverage detected
searching dependent graphs…