vendor/assets/javascripts/unstable/angular-animate.js in angularjs-rails-1.3.6 vs vendor/assets/javascripts/unstable/angular-animate.js in angularjs-rails-1.3.8

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.3.36 + * @license AngularJS v1.3.8 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -837,10 +837,11 @@ * * An animation can also be cancelled by calling the `$animate.cancel(promise)` method with the provided * promise that was returned when the animation was started. * * ```js - * var promise = $animate.addClass(element, 'super-long-animation').then(function() { + * var promise = $animate.addClass(element, 'super-long-animation'); + * promise.then(function() { * //this will still be called even if cancelled * }); * * element.on('click', function() { * //tooo lazy to wait for the animation to end