Skip to content

Commit 7d09bd3

Browse files
committed
chore($animate): remove Moz statements from requestAnimationFrame
1 parent dde1b29 commit 7d09bd3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ngAnimate/animate.js

-2
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,12 @@ angular.module('ngAnimate', ['ng'])
250250
*/
251251
.factory('$$animateReflow', ['$window', '$timeout', function($window, $timeout) {
252252
var requestAnimationFrame = $window.requestAnimationFrame ||
253-
$window.mozRequestAnimationFrame ||
254253
$window.webkitRequestAnimationFrame ||
255254
function(fn) {
256255
return $timeout(fn, 10, false);
257256
};
258257

259258
var cancelAnimationFrame = $window.cancelAnimationFrame ||
260-
$window.mozCancelAnimationFrame ||
261259
$window.webkitCancelAnimationFrame ||
262260
function(timer) {
263261
return $timeout.cancel(timer);

0 commit comments

Comments
 (0)