fixing a bunch of snippets

This commit is contained in:
Peli de Halleux committed 2018-01-18 16:43:16 -08:00
1 parent a60427e2cf
commit db4ed6daf3
20 files changed
+93 -75

No files matched your search

+2 -2
View File
@@ -3,10 +3,10 @@
Use a touch sensor to make the brick happy.
```blocks
sensors.touchSensor1.onEvent(TouchSensorEvent.Pressed, function () {
sensors.touch1.onEvent(TouchSensorEvent.Pressed, function () {
brick.showImage(images.expressionsBigSmile)
})
sensors.touchSensor1.onEvent(TouchSensorEvent.Released, function () {
sensors.touch1.onEvent(TouchSensorEvent.Released, function () {
brick.showImage(images.expressionsSick)
})
```