Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 666c51e

Browse files
committed
chore($$raf) Remove moz prefix for requestAnimationFrame
This drops support for Firefox 22 and older.
1 parent 2cd5b4e commit 666c51e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ng/raf.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
function $$RAFProvider() { //rAF
44
this.$get = ['$window', '$timeout', function($window, $timeout) {
55
var requestAnimationFrame = $window.requestAnimationFrame ||
6-
$window.webkitRequestAnimationFrame ||
7-
$window.mozRequestAnimationFrame;
6+
$window.webkitRequestAnimationFrame;
87

98
var cancelAnimationFrame = $window.cancelAnimationFrame ||
109
$window.webkitCancelAnimationFrame ||
11-
$window.mozCancelAnimationFrame ||
1210
$window.webkitCancelRequestAnimationFrame;
1311

1412
var rafSupported = !!requestAnimationFrame;

0 commit comments

Comments
 (0)