()
| 1662 | } |
| 1663 | |
| 1664 | function prepareOutAnimation() { |
| 1665 | var animator = $animateCss(clone, { |
| 1666 | addClass: NG_OUT_ANCHOR_CLASS_NAME, |
| 1667 | delay: true, |
| 1668 | from: calculateAnchorStyles(outAnchor) |
| 1669 | }); |
| 1670 | |
| 1671 | // read the comment within `prepareRegularAnimation` to understand |
| 1672 | // why this check is necessary |
| 1673 | return animator.$$willAnimate ? animator : null; |
| 1674 | } |
| 1675 | |
| 1676 | function getClassVal(element) { |
| 1677 | return element.attr('class') || ''; |
no test coverage detected