vendor/assets/javascripts/angular-animate.js in angular-gem-1.2.9 vs vendor/assets/javascripts/angular-animate.js in angular-gem-1.2.10

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license AngularJS v1.2.9 + * @license AngularJS v1.2.10 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; @@ -832,10 +832,13 @@ fireDOMCallback('after'); }); } function fireDoneCallbackAsync() { - doneCallback && async(doneCallback); + async(function() { + fireDOMCallback('close'); + doneCallback && doneCallback(); + }); } //it is less complicated to use a flag than managing and cancelling //timeouts containing multiple callbacks. function fireDOMOperation() {