mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
📝 Match destructuring style
[ci skip]
This commit is contained in:
@@ -9,7 +9,7 @@ property of [`webContents`](web-contents.md) which is a property of
|
||||
[`BrowserWindow`](browser-window.md).
|
||||
|
||||
```javascript
|
||||
const { BrowserWindow } = require('electron');
|
||||
const {BrowserWindow} = require('electron');
|
||||
|
||||
let win = new BrowserWindow({ width: 800, height: 600 });
|
||||
win.loadURL('http://github.com');
|
||||
|
||||
Reference in New Issue
Block a user