mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
fix gamepad/gamepad-tests.ts
This commit is contained in:
1 parent
e2fd29975e
commit
38f4ac3012
1 file changed
+1
-1
@@ -38,7 +38,7 @@
|
||||
console.log('Gamepad ' + e.gamepad.index + ' disconnected!');
|
||||
}, false);
|
||||
|
||||
var requestAnimationFrame = window.requestAnimationFrame || window["mozRequestAnimationFrame"];
|
||||
var requestAnimationFrame = window.requestAnimationFrame || (<any>window).mozRequestAnimationFrame;
|
||||
var getGamepads = navigator.getGamepads || navigator.webkitGetGamepads;
|
||||
if(getGamepads){
|
||||
function runAnimation()
|
||||
|
||||
Reference in new issue
Block a user