corbt / next-frame

Returns a promise that resolves on the next animationFrame
BSD 2-Clause "Simplified" License
167 stars 15 forks source link

Simpler implementation #5

Open trustedtomato opened 7 years ago

trustedtomato commented 7 years ago

Please take a look at this gist.

It's basically the same thing but simpler & resolves the timestamp.