📝 Match destructuring style

[ci skip]
This commit is contained in:
Plusb Preco 2016-05-11 01:26:38 +09:00
parent 5787bb0226
commit 4d7296e1db
24 changed files with 37 additions and 39 deletions

View file

@ -5,7 +5,7 @@ microphone, camera, or screen.
```javascript
// In the renderer process.
var { desktopCapturer } = require('electron');
const {desktopCapturer} = require('electron');
desktopCapturer.getSources({types: ['window', 'screen']}, (error, sources) => {
if (error) throw error;