mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: update to standard 14 (#24479)
This commit is contained in:
@@ -17,7 +17,7 @@ renderer process:
|
||||
|
||||
```javascript
|
||||
const { BrowserWindow } = require('electron').remote
|
||||
let win = new BrowserWindow({ width: 800, height: 600 })
|
||||
const win = new BrowserWindow({ width: 800, height: 600 })
|
||||
win.loadURL('https://github.com')
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user