diff options
| author | Matias Niemelä | 2014-01-15 03:29:20 -0500 |
|---|---|---|
| committer | Matias Niemelä | 2014-01-15 03:29:20 -0500 |
| commit | 7d09bd30f9fc2c265588323817b541fd26b9abe0 (patch) | |
| tree | f64d91f321c1896f308c70edc84af7fb1c5020b7 /src/ngAnimate | |
| parent | dde1b2949727c297e214c99960141bfad438d7a4 (diff) | |
| download | angular.js-7d09bd30f9fc2c265588323817b541fd26b9abe0.tar.bz2 | |
chore($animate): remove Moz statements from requestAnimationFrame
Diffstat (limited to 'src/ngAnimate')
| -rw-r--r-- | src/ngAnimate/animate.js | 2 |
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); |
