Update electron.atom.io -> electronjs.org
Update electron.atom.io -> electronjs.org to reduce redirects and speed navigation.
This commit is contained in:
parent
f469059e90
commit
14c6e78147
13 changed files with 28 additions and 28 deletions
|
@ -30,7 +30,7 @@ let view = new BrowserView({
|
|||
})
|
||||
win.setBrowserView(view)
|
||||
view.setBounds({ x: 0, y: 0, width: 300, height: 300 })
|
||||
view.webContents.loadURL('https://electron.atom.io')
|
||||
view.webContents.loadURL('https://electronjs.org')
|
||||
```
|
||||
|
||||
### `new BrowserView([options])` _Experimental_
|
||||
|
|
|
@ -103,7 +103,7 @@ clipboard.
|
|||
|
||||
```js
|
||||
clipboard.write({
|
||||
text: 'https://electron.atom.io',
|
||||
text: 'https://electronjs.org',
|
||||
bookmark: 'Electron Homepage'
|
||||
})
|
||||
```
|
||||
|
|
|
@ -167,7 +167,7 @@ const template = [
|
|||
submenu: [
|
||||
{
|
||||
label: 'Learn More',
|
||||
click () { require('electron').shell.openExternal('https://electron.atom.io') }
|
||||
click () { require('electron').shell.openExternal('https://electronjs.org') }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -177,7 +177,7 @@ Web security is enabled by default.
|
|||
|
||||
```html
|
||||
<webview src="https://github.com" partition="persist:github"></webview>
|
||||
<webview src="https://electron.atom.io" partition="electron"></webview>
|
||||
<webview src="https://electronjs.org" partition="electron"></webview>
|
||||
```
|
||||
|
||||
Sets the session used by the page. If `partition` starts with `persist:`, the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue