()
| 1640 | } |
| 1641 | |
| 1642 | function prepareOutAnimation() { |
| 1643 | var animator = $animateCss(clone, { |
| 1644 | addClass: NG_OUT_ANCHOR_CLASS_NAME, |
| 1645 | delay: true, |
| 1646 | from: calculateAnchorStyles(outAnchor) |
| 1647 | }); |
| 1648 | |
| 1649 | // read the comment within `prepareRegularAnimation` to understand |
| 1650 | // why this check is necessary |
| 1651 | return animator.$$willAnimate ? animator : null; |
| 1652 | } |
| 1653 | |
| 1654 | function getClassVal(element) { |
| 1655 | return element.attr('class') || ''; |
no test coverage detected