Standardize **Note:**

This commit is contained in:
Jessica Lord 2015-09-09 14:09:14 -07:00
parent e9712e2998
commit 279fd0a461
9 changed files with 11 additions and 11 deletions

View file

@ -152,7 +152,7 @@ Emitted when the gpu process crashes.
The `app` object has the following methods: The `app` object has the following methods:
**Note** Some methods are only available on specific operating systems and are labeled as such. **Note:** Some methods are only available on specific operating systems and are labeled as such.
### `app.quit()` ### `app.quit()`

View file

@ -117,7 +117,7 @@ Properties `width` and `height` are required.
The `BrowserWindow` object emits the following events: The `BrowserWindow` object emits the following events:
+**Note** Some events are only available on specific operating systems and are labeled as such. +**Note:** Some events are only available on specific operating systems and are labeled as such.
### Event: 'page-title-updated' ### Event: 'page-title-updated'
@ -292,7 +292,7 @@ Remove the devtools extension whose name is `name`.
Objects created with `new BrowserWindow` have the following instance methods: Objects created with `new BrowserWindow` have the following instance methods:
+**Note** Some methods are only available on specific operating systems and are labeled as such. +**Note:** Some methods are only available on specific operating systems and are labeled as such.
```javascript ```javascript
var BrowserWindow = require('browser-window'); var BrowserWindow = require('browser-window');

View file

@ -4,7 +4,7 @@ The `global-shortcut` module can register/unregister a global keyboard shortcut
with the operating system so that you can customize the operations for various with the operating system so that you can customize the operations for various
shortcuts. shortcuts.
**Note**: The shortcut is global; it will work even if the app does **Note:** The shortcut is global; it will work even if the app does
not have the keyboard focus. You should not use this module until the `ready` not have the keyboard focus. You should not use this module until the `ready`
event of the app module is emitted. event of the app module is emitted.

View file

@ -4,7 +4,7 @@ The `ipc` module provides a few methods so you can send synchronous and
asynchronous messages from the render process (web page) to the main process. asynchronous messages from the render process (web page) to the main process.
You can also receive replies from the main process. You can also receive replies from the main process.
**Note**: If you want to make use of modules in the main process from the renderer **Note:** If you want to make use of modules in the main process from the renderer
process, you might consider using the [remote](remote.md) module. process, you might consider using the [remote](remote.md) module.
See [ipc (main process)](ipc-main-process.md) for code examples. See [ipc (main process)](ipc-main-process.md) for code examples.
@ -13,7 +13,7 @@ See [ipc (main process)](ipc-main-process.md) for code examples.
The `ipc` module has the following methods for sending messages: The `ipc` module has the following methods for sending messages:
**Note**: When using these methods to send a `message` you must also listen **Note:** When using these methods to send a `message` you must also listen
for it in the main process with [`ipc (main process)`](ipc-main-process.md). for it in the main process with [`ipc (main process)`](ipc-main-process.md).
### `ipc.send(channel[, arg1][, arg2][, ...])` ### `ipc.send(channel[, arg1][, arg2][, ...])`

View file

@ -74,7 +74,7 @@ mixed with other content to create the desired final appearance.
The most common case is to use template images for a menu bar icon so it can The most common case is to use template images for a menu bar icon so it can
adapt to both light and dark menu bars. adapt to both light and dark menu bars.
**Note**: Template image is only supported on OS X. **Note:** Template image is only supported on OS X.
To mark an image as a template image, its filename should end with the word To mark an image as a template image, its filename should end with the word
`Template`. For example: `Template`. For example:

View file

@ -20,7 +20,7 @@ var win = new BrowserWindow({ width: 800, height: 600 });
win.loadUrl('https://github.com'); win.loadUrl('https://github.com');
``` ```
**Note**: for the reverse (access the renderer process from the main process), **Note:** for the reverse (access the renderer process from the main process),
you can use [webContents.executeJavascript](browser-window.md#webcontents-executejavascript-code). you can use [webContents.executeJavascript](browser-window.md#webcontents-executejavascript-code).
## Remote Objects ## Remote Objects

View file

@ -6,7 +6,7 @@ position, etc. You should not use this module until the `ready` event of the
`screen` is an [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter). `screen` is an [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).
**Note**: In the renderer / DevTools, `window.screen` is a reserved **Note:** In the renderer / DevTools, `window.screen` is a reserved
DOM property, so writing `var screen = require('screen')` will not work. In our DOM property, so writing `var screen = require('screen')` will not work. In our
examples below, we use `atomScreen` as the variable name instead. examples below, we use `atomScreen` as the variable name instead.

View file

@ -123,7 +123,7 @@ Emitted when dragged files are dropped in the tray icon.
The `Tray` module has the following methods: The `Tray` module has the following methods:
**Note**: Some methods are only available on specific operating systems and are **Note:** Some methods are only available on specific operating systems and are
labeled as such. labeled as such.
### `Tray.destroy()` ### `Tray.destroy()`

View file

@ -135,7 +135,7 @@ If "on", the guest page will have web security disabled.
The `webview` tag has the following methods: The `webview` tag has the following methods:
**Note**: The webview element must be loaded before using the methods. **Note:** The webview element must be loaded before using the methods.
**Example** **Example**
```javascript ```javascript