- From: Fred . <eldmannen@gmail.com>
- Date: Mon, 12 Nov 2012 14:43:58 +0100
- To: public-web-perf@w3.org
Received on Monday, 12 November 2012 13:44:25 UTC
function animate(time) { document.getElementById("animated").style.left = (time - animationStartTime) % 2000 / 4 + "px"; requestId = window.requestAnimationFrame(animate); } document.getElementById("animated") should be declared outside the animate() function.
Received on Monday, 12 November 2012 13:44:25 UTC