()
| 1946 | // there is no need to attach this internally to the |
| 1947 | // timeout done method. |
| 1948 | function onEnd() { |
| 1949 | element.off(css3AnimationEvents, onAnimationProgress); |
| 1950 | $$jqLite.removeClass(element, activeClassName); |
| 1951 | $$jqLite.removeClass(element, pendingClassName); |
| 1952 | if (staggerTimeout) { |
| 1953 | $timeout.cancel(staggerTimeout); |
| 1954 | } |
| 1955 | animateClose(element, className); |
| 1956 | var node = extractElementNode(element); |
| 1957 | for (var i in appliedStyles) { |
| 1958 | node.style.removeProperty(appliedStyles[i]); |
| 1959 | } |
| 1960 | } |
| 1961 | |
| 1962 | function onAnimationProgress(event) { |
| 1963 | event.stopPropagation(); |
no test coverage detected