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:
@@ -73,7 +73,7 @@ You can also display a web page in an `asar` archive with `BrowserWindow`:
|
||||
```javascript
|
||||
const BrowserWindow = require('electron').BrowserWindow;
|
||||
var win = new BrowserWindow({width: 800, height: 600});
|
||||
win.loadUrl('file:///path/to/example.asar/static/index.html');
|
||||
win.loadURL('file:///path/to/example.asar/static/index.html');
|
||||
```
|
||||
|
||||
### Web API
|
||||
|
||||
Reference in New Issue
Block a user