W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2012

[RequestAnimationFrame] Callback argument should be a callback interface, not just a callback

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 22 Feb 2012 09:52:33 -0500
Message-ID: <4F450131.7000605@mit.edu>
To: public-web-perf@w3.org
Unless there are _very_ strong reasons to restrict to functions only 
(which I just don't see in this case), it's better to use a callback 
interface for the animation callback.  That allows for more flexibility 
for authors; they can of course still pass in functions.

Received on Wednesday, 22 February 2012 14:53:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:32 UTC