Fix demo syntax error

This commit is contained in:
Ryan McGrath 2011-07-10 03:30:32 -04:00
parent 0b1c7ff386
commit 13b73206f0

View file

@ -57,6 +57,7 @@
'background-color': 'green', 'background-color': 'green',
'left': parseInt(x[0].style.left) + 50 'left': parseInt(x[0].style.left) + 50
}); });
});
wiimote2.when('pressed_left', function() { wiimote2.when('pressed_left', function() {
x.html('2').css({ x.html('2').css({
@ -96,4 +97,4 @@
Wii.listen(); Wii.listen();
</script> </script>
</body> </body>
</html> </html>