摘要:
更新(2011/07/09)Firefox 5实现mozRequestAnimationFrame 但没有mozCancelRequestAnimationFrame,为了确保下面的函数正常运行,代码进行了调整,强制Firefox使用setTimeout/setInterval,直到mozCancelRequestAnimationFrame可用为止。更新(2011/06/04)修正了函数,so that they can be cancelled with drop in replace functions for clearTimeout() & clearInterval()。= 阅读全文