lib: add requestAnimationFrame global
Adds the browser API requestAnimationFrame()
as an isomorphic
wrapper around setImmediate()
. Marked Legacy with a clear
indication that code targeting Node.js should use setImmediate()
instead.
Signed-off-by: James M Snell jasnell@gmail.com
/cc @mcollina