mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Replace "Url" in API names with "URL"
This commit is contained in:
@@ -105,7 +105,7 @@ app.on('ready', function() {
|
||||
mainWindow = new BrowserWindow({width: 800, height: 600});
|
||||
|
||||
// and load the index.html of the app.
|
||||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||
mainWindow.loadURL('file://' + __dirname + '/index.html');
|
||||
|
||||
// Open the DevTools.
|
||||
mainWindow.webContents.openDevTools();
|
||||
|
||||
Reference in New Issue
Block a user