aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngAnimate/animate.js
diff options
context:
space:
mode:
authorMatias Niemelä2014-01-15 03:29:20 -0500
committerMatias Niemelä2014-01-15 03:29:20 -0500
commit7d09bd30f9fc2c265588323817b541fd26b9abe0 (patch)
treef64d91f321c1896f308c70edc84af7fb1c5020b7 /src/ngAnimate/animate.js
parentdde1b2949727c297e214c99960141bfad438d7a4 (diff)
downloadangular.js-7d09bd30f9fc2c265588323817b541fd26b9abe0.tar.bz2
chore($animate): remove Moz statements from requestAnimationFrame
Diffstat (limited to 'src/ngAnimate/animate.js')
-rw-r--r--src/ngAnimate/animate.js2
1 files changed, 0 insertions, 2 deletions
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);