mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
build: update to standard 14 (#24479)
This commit is contained in:
@@ -94,6 +94,6 @@ mainWindow.webContents.on('new-window', (event, url, frameName, disposition, opt
|
||||
|
||||
```javascript
|
||||
// renderer process (mainWindow)
|
||||
let modal = window.open('', 'modal')
|
||||
const modal = window.open('', 'modal')
|
||||
modal.document.write('<h1>Hello</h1>')
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user