From de3b1302408b13586a5d1ba5b8a29ac70598be46 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 --- 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 46ab1347aa62..75c2d336b624 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -1756,7 +1756,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);