From 520db0ca7e73a01e34dddab8079f41b243947345 Mon Sep 17 00:00:00 2001 From: Pavel Pomerantsev Date: Mon, 13 Oct 2014 15:02:34 +0400 Subject: [PATCH] refactor(ngAnimate): remove unused function argument Closes #9585 --- src/ngAnimate/animate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index a7544089..ea68a405 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -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);