Update index.html
Chrome "requestAnimationFrame" new implementation
This commit is contained in:
parent
eafa2d43a4
commit
ca55faf79f
|
@ -321,7 +321,7 @@
|
|||
// crossbrowser implementation for requestAnimationFrame
|
||||
var requestAnimation = (function() {
|
||||
return window.requestAnimationFrame
|
||||
|| window.webkitRequestAnimationFrame
|
||||
//|| window.webkitRequestAnimationFrame
|
||||
|| window.mozRequestAnimationFrame
|
||||
|| window.oRequestAnimationFrame
|
||||
|| window.msRequestAnimationFrame
|
||||
|
@ -1548,4 +1548,4 @@
|
|||
<body>
|
||||
<div id="game"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue