molily: doppelt gemoppelt hält besser ...

Beitrag lesen

Würde denn

if(!window.requestAnimationFrame)

window.requestAnimationFrame = function(callback) { window.setTimeout(callback,1) };


>   
> als Minimal-Polyfill reichen?  
  
Viele Browser [unterstützen](http://caniuse.com/requestanimationframe) requestAnimationFrame mit Vendor-Prefix, daher sind die Polyfills, die das berücksichtigen, schon sinnvoller.  
  
Mathias

-- 
[9elements – Ruby on Rails and HTML5 development](http://9elements.com/)