Update url (#7598)

* Update EventEmitter URL

* Update EventEmitter URL

* Enable click

* Update EventEmitter URL

* Update EventEmitter URL

* Update URL

* Update URL

* Update EventEmitter URL

* Tweak sentence and add perios
This commit is contained in:
Long Nhat Nguyen 2016-10-13 21:09:14 +00:00 committed by Kevin Sawicki
parent 0756aa663b
commit c017a7a1c7
8 changed files with 10 additions and 12 deletions

View file

@ -36,12 +36,10 @@ file, before opening any browser windows that will make geocoding requests:
process.env.GOOGLE_API_KEY = 'YOUR_KEY_HERE'
```
For instructions on how to acquire a Google API key, see
https://www.chromium.org/developers/how-tos/api-keys
For instructions on how to acquire a Google API key, visit [this page](https://www.chromium.org/developers/how-tos/api-keys).
By default, a newly generated Google API key may not be allowed to make
geocoding requests. To enable geocoding requests, visit this page:
https://console.developers.google.com/apis/api/geolocation/overview
geocoding requests. To enable geocoding requests, visit [this page](https://console.developers.google.com/apis/api/geolocation/overview).
### `ELECTRON_NO_ASAR`

View file

@ -3,7 +3,7 @@
> Communicate asynchronously from the main process to renderer processes.
The `ipcMain` module is an instance of the
[EventEmitter](https://nodejs.org/api/events.html) class. When used in the main
[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) class. When used in the main
process, it handles asynchronous and synchronous messages sent from a renderer
process (web page). Messages sent from a renderer will be emitted to this
module.

View file

@ -3,7 +3,7 @@
> Communicate asynchronously from a renderer process to the main process.
The `ipcRenderer` module is an instance of the
[EventEmitter](https://nodejs.org/api/events.html) class. It provides a few
[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) class. It provides a few
methods so you can send synchronous and asynchronous messages from the render
process (web page) to the main process. You can also receive replies from the
main process.

View file

@ -20,7 +20,7 @@ win.loadURL('https://github.com')
```
**Note:** For the reverse (access the renderer process from the main process),
you can use [webContents.executeJavascript](web-contents.md#webcontentsexecutejavascriptcode-usergesture-callback).
you can use [webContents.executeJavascript](web-contents.md#contentsexecutejavascriptcode-usergesture-callback).
## Remote Objects

View file

@ -5,7 +5,7 @@
You cannot require or use this module until the `ready` event of the `app`
module is emitted.
`screen` is an [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).
`screen` is an [EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter).
**Note:** In the renderer / DevTools, `window.screen` is a reserved DOM
property, so writing `let {screen} = require('electron')` will not work.

View file

@ -2,7 +2,7 @@
> How to use Node.js and Electron APIs.
All of [Node.js's built-in modules](http://nodejs.org/api/) are available in
All of [Node.js's built-in modules](https://nodejs.org/api/) are available in
Electron and third-party node modules also fully supported as well (including
the [native modules](../tutorial/using-native-node-modules.md)).
@ -13,7 +13,7 @@ both processes.
The basic rule is: if a module is [GUI][gui] or low-level system related, then
it should be only available in the main process. You need to be familiar with
the concept of [main process vs. renderer process](../tutorial/quick-start.md#the-main-process)
the concept of [main process vs. renderer process](../tutorial/quick-start.md#main-process)
scripts to be able to use those modules.
The main process script is just like a normal Node.js script:

View file

@ -239,4 +239,4 @@ The `bounds` of this tray icon as `Object`.
Returns `Boolean` - Whether the tray icon is destroyed.
[event-emitter]: http://nodejs.org/api/events.html#events_class_events_eventemitter
[event-emitter]: https://nodejs.org/api/events.html#events_class_eventemitter

View file

@ -3,7 +3,7 @@
> Render and control web pages.
`webContents` is an
[EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).
[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter).
It is responsible for rendering and controlling a web page and is a property of
the [`BrowserWindow`](browser-window.md) object. An example of accessing the
`webContents` object: