📝 Update documentation style guide to ES6 [ci skip]
This commit is contained in:
parent
6fba72a40c
commit
178496afe5
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ a value it and its type is noted below. If you were to listen and respond to
|
|||
this event it might look something like this:
|
||||
|
||||
```javascript
|
||||
Alarm.on('wake-up', function(time) {
|
||||
Alarm.on('wake-up', (time) => {
|
||||
console.log(time)
|
||||
})
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue