From 7d09bd30f9fc2c265588323817b541fd26b9abe0 Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Wed, 15 Jan 2014 03:29:20 -0500 Subject: chore($animate): remove Moz statements from requestAnimationFrame --- src/ngAnimate/animate.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ngAnimate/animate.js') diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index 4f243220..bf5e3af4 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -250,14 +250,12 @@ angular.module('ngAnimate', ['ng']) */ .factory('$$animateReflow', ['$window', '$timeout', function($window, $timeout) { var requestAnimationFrame = $window.requestAnimationFrame || - $window.mozRequestAnimationFrame || $window.webkitRequestAnimationFrame || function(fn) { return $timeout(fn, 10, false); }; var cancelAnimationFrame = $window.cancelAnimationFrame || - $window.mozCancelAnimationFrame || $window.webkitCancelAnimationFrame || function(timer) { return $timeout.cancel(timer); -- cgit v1.2.3