Skip to content
Permalink
Browse files

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
  • Loading branch information
realityking authored and caitp committed Oct 9, 2014
1 parent d162f15 commit aac3c4aa63cb040614028d315ff9375c3ddaa19e
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/ng/raf.js
@@ -3,12 +3,10 @@
function $$RAFProvider() { //rAF
this.$get = ['$window', '$timeout', function($window, $timeout) {
var requestAnimationFrame = $window.requestAnimationFrame ||
$window.webkitRequestAnimationFrame ||
$window.mozRequestAnimationFrame;
$window.webkitRequestAnimationFrame;

var cancelAnimationFrame = $window.cancelAnimationFrame ||
$window.webkitCancelAnimationFrame ||
$window.mozCancelAnimationFrame ||
$window.webkitCancelRequestAnimationFrame;

var rafSupported = !!requestAnimationFrame;

0 comments on commit aac3c4a

Please sign in to comment.
You can’t perform that action at this time.