Skip to content
Browse files

fixing bug where not looking for unprefixed API name. doh.

  • Loading branch information...
1 parent 663ba80 commit f62e00ae56f30795d140b9486af42f16d5bcfaea @getify committed Oct 4, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 animationFrame.h5ive.js
View
6 animationFrame.h5ive.js
@@ -5,12 +5,14 @@
if (!h5) throw new Error("animationFrame.h5ive: core.h5ive required.");
var rAF = (window.msRequestAnimationFrame || window.mozRequestAnimationFrame ||
- window.webkitRequestAnimationFrame || window.oRequestAnimationFrame
+ window.webkitRequestAnimationFrame || window.oRequestAnimationFrame ||
+ window.requestAnimationFrame
),
cAF = (window.msCancelAnimationFrame || window.msCancelRequestAnimationFrame ||
window.mozCancelAnimationFrame || window.mozCancelRequestAnimationFrame ||
window.webkitCancelAnimationFrame || window.webkitCancelRequestAnimationFrame ||
- window.oCancelAnimationFrame || window.oCancelRequestAnimationFrame
+ window.oCancelAnimationFrame || window.oCancelRequestAnimationFrame ||
+ window.cancelAnimationFrame
),
publicAPI, q_ids = {}
;

0 comments on commit f62e00a

Please sign in to comment.
Something went wrong with that request. Please try again.