Merge pull request #51 from haxiomic/patch-1

Added requestAnimationFrame
This commit is contained in:
Doug 2015-06-03 11:45:01 -07:00
commit 651cf00324

View File

@ -19,7 +19,8 @@ define([
* http://paulirish.com/2011/requestanimationframe-for-smart-animating/
*/
return window.webkitRequestAnimationFrame ||
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||