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

Commit aac3c4a

Browse files
realitykingcaitp
authored andcommitted
chore($$raf) remove moz prefix for requestAnimationFrame
This drops support for Firefox 22 and older. The moz-prefix is still supported, but there is an effort to drop it eventually: https://bugzilla.mozilla.org/show_bug.cgi?id=909154 Closes #9577
1 parent d162f15 commit aac3c4a

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)