mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: update to standard 12
This commit is contained in:
@@ -7,7 +7,7 @@ Process: [Main](../glossary.md#main-process)
|
||||
For example:
|
||||
|
||||
```javascript
|
||||
const {powerSaveBlocker} = require('electron')
|
||||
const { powerSaveBlocker } = require('electron')
|
||||
|
||||
const id = powerSaveBlocker.start('prevent-display-sleep')
|
||||
console.log(powerSaveBlocker.isStarted(id))
|
||||
|
||||
Reference in New Issue
Block a user