vendor/assets/javascripts/unstable/angular-animate.js in angularjs-rails-1.3.10 vs vendor/assets/javascripts/unstable/angular-animate.js in angularjs-rails-1.3.14

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.3.10 + * @license AngularJS v1.3.14 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -1331,11 +1331,10 @@ cleanup(element, true); } } else if (lastAnimation.event == 'setClass') { animationsToCancel.push(lastAnimation); cleanup(element, className); - } - else if (runningAnimations[className]) { + } else if (runningAnimations[className]) { var current = runningAnimations[className]; if (current.event == animationEvent) { skipAnimation = true; } else { animationsToCancel.push(current);