gamepad: fixed test

This commit is contained in:
Igor Oleinikov
2013-12-19 15:06:13 +04:00
parent 555838d599
commit bf40f25957
+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();
}
}();
})();