Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
feat: update source content
Browse files Browse the repository at this point in the history
  • Loading branch information
electron-bot committed Jun 4, 2020
1 parent 94d04fa commit e2573a4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions content/7-3-x/en-US/docs/api/chrome-command-line-switches.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Disables the disk cache for HTTP requests.

Disable HTTP/2 and SPDY/3.1 protocols.

### --disable-ntlm-v2

Disables NTLM v2 for posix platforms, no effect elsewhere.

## --lang

Set a custom locale.
Expand Down
4 changes: 4 additions & 0 deletions content/8-x-y/en-US/docs/api/command-line-switches.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Disables the disk cache for HTTP requests.

Disable HTTP/2 and SPDY/3.1 protocols.

### --disable-ntlm-v2

Disables NTLM v2 for posix platforms, no effect elsewhere.

## --lang

Set a custom locale.
Expand Down
8 changes: 4 additions & 4 deletions content/8-x-y/en-US/docs/api/web-contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,10 @@ Returns `String` - The URL of the current web page.
```javascript
const { BrowserWindow } = require('electron')
let win = new BrowserWindow({ width: 800, height: 600 })
win.loadURL('http://github.com')

let currentURL = win.webContents.getURL()
console.log(currentURL)
win.loadURL('http://github.com').then(() => {
const currentURL = win.webContents.getURL()
console.log(currentURL)
})
```

#### `contents.getTitle()`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"automerge": "ts-node ./script/automerge.ts"
},
"electronLatestStableTag": "v9.0.2",
"electronMasterBranchCommit": "ac81a39e09693338d8da56b73bddb462c673bc47",
"electronMasterBranchCommit": "b1adbf7fd7630457982b64737b88f2298ba93152",
"engines": {
"node": ">=10"
},
Expand Down

0 comments on commit e2573a4

Please sign in to comment.