Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/electron/electron.git
π Update documentation style guide to ES6 [ci skip]
This commit is contained in:
Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ
6fba72a40c
ΠΠΎΠΌΠΌΠΈΡ
178496afe5
|
@ -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)
|
||||
})
|
||||
```
|
||||
|
|
ΠΠ°Π³ΡΡΠ·ΠΊΠ°β¦
Π‘ΡΡΠ»ΠΊΠ° Π² Π½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅