blob: 5ac4bcf1e4ae0a47edad4d85cf4068682208a1e0 (
plain)
1
2
3
4
5
6
7
|
// requestAnimationFrame
// Offload animation repainting to browser for optimized performance.
// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/RequestAnimationFrame/Overview.html
// By Addy Osmani
Modernizr.addTest('raf', !!Modernizr.prefixed('requestAnimationFrame', window));
|