gamepad: fixed test

This commit is contained in:
Igor Oleinikov committed 2013-12-19 15:06:13 +04:00
1 parent 555838d599
commit bf40f25957
1 file changed
+2 -2
+2 -2
View File
@@ -18,7 +18,7 @@
window.requestAnimationFrame(runAnimation);
};
()=>{
(()=>{
window.addEventListener('GamepadConnected', (e: GamepadEvent)=>{
console.log('Gamepad ' + e.gamepad.index + ' connected!');
}, false);
@@ -69,4 +69,4 @@
runAnimation();
}
}();
})();