refactor(ngAnimate): remove unused function argument

Closes #9585
This commit is contained in:
Pavel Pomerantsev
2014-10-13 15:02:34 +04:00
committed by Igor Minar
parent 4a85512174
commit 520db0ca7e

View File

@@ -1753,7 +1753,7 @@ angular.module('ngAnimate', ['ng'])
// This will automatically be called by $animate so
// there is no need to attach this internally to the
// timeout done method.
function onEnd(cancelled) {
function onEnd() {
element.off(css3AnimationEvents, onAnimationProgress);
element.removeClass(activeClassName);
element.removeClass(pendingClassName);