requestAnimationFrame on iOS6 Beta (+ Integration in jQuery)

| Comments

Great Apple added support for requestAnimationFrame with the webkit prefix. Hopefully this will give mobile Safari animations some boost! Based on Paul Irish’s blog post about a polyfill I created an integration into jQuery’s animation module. For that I used the new API introduced in 1.8 to hook into the timer call and request the animation frame.

[gist id=3524146]

Copyright © 2014 - Damien Antipa. Powered by Octopress