()
| 1673 | } |
| 1674 | |
| 1675 | function prepareOutAnimation() { |
| 1676 | var animator = $animateCss(clone, { |
| 1677 | addClass: NG_OUT_ANCHOR_CLASS_NAME, |
| 1678 | delay: true, |
| 1679 | from: calculateAnchorStyles(outAnchor) |
| 1680 | }); |
| 1681 | |
| 1682 | // read the comment within `prepareRegularAnimation` to understand |
| 1683 | // why this check is necessary |
| 1684 | return animator.$$willAnimate ? animator : null; |
| 1685 | } |
| 1686 | |
| 1687 | function getClassVal(element) { |
| 1688 | return element.attr('class') || ''; |
no test coverage detected