Skip to content

Commit 1c6d287

Browse files
committed
Fixed typo in events examples
1 parent 10853c8 commit 1c6d287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,13 @@ Just as the `env` attribute on a `<script>` tag specifies a specific instance of
330330
331331
```html
332332
<script type="micropython">
333-
def log():
333+
def log(event):
334334
print(1)
335335
</script>
336336
<!-- note the env value -->
337337
<script type="micropython" env="two">
338338
# the button will log 2
339-
def log():
339+
def log(event):
340340
print(2)
341341
</script>
342342
<!-- note the micropython-env value -->

0 commit comments

Comments
 (0)