mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
📝 Update documentation style guide to ES6 [ci skip]
This commit is contained in:
@@ -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)
|
||||
})
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user