The need to re-subscribe to requestAnimationFrame

Hi,

If someone wants to reuse the same function for 
requestionAnimationFrame, he/she has to go through:
     requestAnimationFrame(function f(){
         requestAnimationFrame(f);
         // do stuff
     })

I was wondering why it was the case. Other event-like mechanism do not 
require to re-subscribe after an event happened.

Thanks,

David

Received on Saturday, 2 March 2013 11:03:48 UTC