Skip to content

Commit

Permalink
Fixed the requestAnimFrame shim.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrespagella committed Jun 24, 2011
1 parent 99cbf81 commit 85d89dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ex2-fps-requestAnimationFrame.html
Expand Up @@ -16,7 +16,7 @@
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function(/* function */ callback, /* DOMElement */ element) {
window.setTimeout(callback, 1);
window.setTimeout(callback, 1000 / 60);
};
})();

Expand Down

0 comments on commit 85d89dd

Please sign in to comment.