Update index.html

This commit is contained in:
arcadeJHS 2013-02-03 23:20:21 +01:00
parent 5ce06c62ec
commit 36f27c2da3

View File

@ -319,15 +319,21 @@
};
// crossbrowser implementation for requestAnimationFrame
var requestAnimation = (function() {
return /*window.requestAnimationFrame
/*var requestAnimation = (function() {
return window.requestAnimationFrame
|| window.webkitRequestAnimationFrame
||*/ window.mozRequestAnimationFrame
|| window.mozRequestAnimationFrame
|| window.oRequestAnimationFrame
|| window.msRequestAnimationFrame
|| function(callback, element) {
window.setTimeout(callback, 1000/60);
};
})();*/
var requestAnimation = (function() {
return function(callback, element) {
window.setTimeout(callback, 1000/60);
};
})();
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!