diff options
Diffstat (limited to 'src/ngAnimate/animate.js')
| -rw-r--r-- | src/ngAnimate/animate.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index 4d3a5878..81d20043 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -771,10 +771,10 @@ angular.module('ngAnimate', ['ng'])        function cancelAnimations(animations) {          var isCancelledFlag = true;          forEach(animations, function(animation) { -          if(!animations['beforeComplete']) { +          if(!animations.beforeComplete) {              (animation.beforeEnd || noop)(isCancelledFlag);            } -          if(!animations['afterComplete']) { +          if(!animations.afterComplete) {              (animation.afterEnd || noop)(isCancelledFlag);            }          }); | 
