mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add missing let (#15746)
This commit is contained in:
@@ -109,7 +109,7 @@ const { app, BrowserWindow } = require('electron')
|
||||
|
||||
function createWindow () {
|
||||
// Create the browser window.
|
||||
win = new BrowserWindow({ width: 800, height: 600 })
|
||||
let win = new BrowserWindow({ width: 800, height: 600 })
|
||||
|
||||
// and load the index.html of the app.
|
||||
win.loadFile('index.html')
|
||||
|
||||
Reference in New Issue
Block a user