SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 80 JavaScript

fix($timeout): make $flush handle new $timeouts added in $timeout callbacks

If a $timeout handler calls $timeout itself, this new $timeout should be
added to the mock deferred queue with a "now" time based on when the original
handler was triggered.

Previously it was being added with a now time of when the `$timeout.flush`
method was originally called.

Closes #5420
Closes #14686
L
Lucas Galfasó committed
1a387ba5dd1a8a831486fce23f6795bd1eef3d8b
Parent: 98e4a22
Committed by Igor Minar <igor@angularjs.org> on 6/20/2016, 5:01:19 PM