docs: replace electron.atom.io with electronjs.org in docs/fiddles (#22196)

This commit is contained in:
Jeremy Apthorp 2020-02-16 16:46:41 -08:00 committed by GitHub
parent 7a7754a3dd
commit f8c4be7caa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 26 additions and 26 deletions

View file

@ -21,7 +21,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/menu" <a href="https://electronjs.org/docs/api/menu"
>full API documentation<span >full API documentation<span
>(opens in new window)</span >(opens in new window)</span
></a ></a
@ -111,7 +111,7 @@
<p> <p>
See the full See the full
<a <a
href="http://electron.atom.io/docs/api/web-contents/#event-context-menu" href="https://electronjs.org/docs/api/web-contents/#event-context-menu"
>context-menu event documentation</a >context-menu event documentation</a
> >
for all the available properties. for all the available properties.

View file

@ -159,7 +159,7 @@ const template = [
{ {
label: 'Learn More', label: 'Learn More',
click: () => { click: () => {
shell.openExternal('http://electron.atom.io') shell.openExternal('https://electronjs.org')
} }
} }
] ]

View file

@ -21,10 +21,10 @@
<p> <p>
Open the full documentation for the Open the full documentation for the
<a href="http://electron.atom.io/docs/api/menu">Menu</a>, <a href="https://electronjs.org/docs/api/menu">Menu</a>,
<a href="http://electron.atom.io/docs/api/accelerator">Accelerator</a>, <a href="https://electronjs.org/docs/api/accelerator">Accelerator</a>,
and and
<a href="http://electron.atom.io/docs/api/global-shortcut">globalShortcut</a> <a href="https://electronjs.org/docs/api/global-shortcut">globalShortcut</a>
APIs in your browser. APIs in your browser.
</p> </p>

View file

@ -23,7 +23,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/dialog/"> <a href="https://electronjs.org/docs/api/dialog/">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.

View file

@ -23,7 +23,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/dialog/"> <a href="https://electronjs.org/docs/api/dialog/">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.

View file

@ -23,7 +23,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/dialog/"> <a href="https://electronjs.org/docs/api/dialog/">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.

View file

@ -23,7 +23,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/dialog/"> <a href="https://electronjs.org/docs/api/dialog/">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.

View file

@ -27,7 +27,7 @@
const { shell } = require('electron') const { shell } = require('electron')
const exLinksBtn = document.getElementById('open-ex-links') const exLinksBtn = document.getElementById('open-ex-links')
exLinksBtn.addEventListener('click', (event) => { exLinksBtn.addEventListener('click', (event) => {
shell.openExternal('http://electron.atom.io') shell.openExternal('https://electronjs.org')
}) })
</code></pre> </code></pre>

View file

@ -3,7 +3,7 @@ const { shell } = require('electron')
const exLinksBtn = document.getElementById('open-ex-links') const exLinksBtn = document.getElementById('open-ex-links')
exLinksBtn.addEventListener('click', (event) => { exLinksBtn.addEventListener('click', (event) => {
shell.openExternal('http://electron.atom.io') shell.openExternal('https://electronjs.org')
}) })
const OpenAllOutboundLinks = () => { const OpenAllOutboundLinks = () => {

View file

@ -17,7 +17,7 @@
<p>This module works in both the main and renderer process.</p> <p>This module works in both the main and renderer process.</p>
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/shell"> <a href="https://electronjs.org/docs/api/shell">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.

View file

@ -9,5 +9,5 @@ fileManagerBtn.addEventListener('click', (event) => {
}) })
exLinksBtn.addEventListener('click', (event) => { exLinksBtn.addEventListener('click', (event) => {
shell.openExternal('http://electron.atom.io') shell.openExternal('https://electronjs.org')
}) })

View file

@ -26,7 +26,7 @@
<p> <p>
Open the Open the
<a href="https://electron.atom.io/docs/all/#notifications-windows-linux-macos"> <a href="https://electronjs.org/docs/all/#notifications-windows-linux-macos">
full API documentation<span>(opens in new window)</span> full API documentation<span>(opens in new window)</span>
</a> </a>
in your browser. in your browser.

View file

@ -15,7 +15,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/tray"> <a href="https://electronjs.org/docs/api/tray">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.
@ -108,7 +108,7 @@ ipc.on('tray-removed', function () {
On Linux distributions that only have app indicator support, users On Linux distributions that only have app indicator support, users
will need to install <code>libappindicator1</code> to make the will need to install <code>libappindicator1</code> to make the
tray icon work. See the tray icon work. See the
<a href="http://electron.atom.io/docs/api/tray"> <a href="https://electronjs.org/docs/api/tray">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
for more details about using Tray on Linux. for more details about using Tray on Linux.

View file

@ -13,7 +13,7 @@
<h3>The <code>app</code> module provides methods for handling protocols.</h3> <h3>The <code>app</code> module provides methods for handling protocols.</h3>
<p>These methods allow you to set and unset the protocols your app should be the default app for. Similar to when a browser asks to be your default for viewing web pages.</p> <p>These methods allow you to set and unset the protocols your app should be the default app for. Similar to when a browser asks to be your default for viewing web pages.</p>
<p>Open the <a href="http://electron.atom.io/docs/api/app">full app API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p> <p>Open the <a href="https://electronjs.org/docs/api/app">full app API documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
</header> </header>
<div > <div >

View file

@ -15,7 +15,7 @@
</div> </div>
<p>The <code>process</code> module is built into Node.js (therefore you can use this in both the main and renderer processes) and in Electron apps this object has a few more useful properties on it.</p> <p>The <code>process</code> module is built into Node.js (therefore you can use this in both the main and renderer processes) and in Electron apps this object has a few more useful properties on it.</p>
<p>The example below gets the version of Electron in use by the app.</p> <p>The example below gets the version of Electron in use by the app.</p>
<p>See the <a href="http://electron.atom.io/docs/api/process">process documentation <span>(opens in new window)</span></a> for more.</p> <p>See the <a href="https://electronjs.org/docs/api/process">process documentation <span>(opens in new window)</span></a> for more.</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -22,7 +22,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/browser-window"> <a href="https://electronjs.org/docs/api/browser-window">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.
@ -59,7 +59,7 @@
<p> <p>
For more details, see the For more details, see the
<a href="http://electron.atom.io/docs/api/frameless-window/"> <a href="https://electronjs.org/docs/api/frameless-window/">
Frameless Window Frameless Window
</a> </a>
documentation. documentation.

View file

@ -22,7 +22,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/browser-window"> <a href="https://electronjs.org/docs/api/browser-window">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.
@ -47,7 +47,7 @@
There are a lot of methods for controlling the state of the window There are a lot of methods for controlling the state of the window
such as the size, location, and focus status as well as events to such as the size, location, and focus status as well as events to
listen to for window changes. Visit the listen to for window changes. Visit the
<a href="http://electron.atom.io/docs/api/browser-window"> <a href="https://electronjs.org/docs/api/browser-window">
documentation (opens in new window) documentation (opens in new window)
</a> </a>
for the full list. for the full list.

View file

@ -15,5 +15,5 @@ newWindowBtn.addEventListener('click', (event) => {
link.addEventListener('click', (e) => { link.addEventListener('click', (e) => {
e.preventDefault() e.preventDefault()
shell.openExternal("http://electron.atom.io/docs/api/browser-window") shell.openExternal("https://electronjs.org/docs/api/browser-window")
}) })

View file

@ -22,7 +22,7 @@
<p> <p>
Open the Open the
<a href="http://electron.atom.io/docs/api/browser-window"> <a href="https://electronjs.org/docs/api/browser-window">
full API documentation (opens in new window) full API documentation (opens in new window)
</a> </a>
in your browser. in your browser.