]> khamidou — GitHub mirrors - electron.git/commitdiff
Standardize **Note:**
authorJessica Lord <jlord@github.com>
Wed, 9 Sep 2015 21:09:14 +0000 (14:09 -0700)
committerJessica Lord <jlord@github.com>
Wed, 9 Sep 2015 21:09:14 +0000 (14:09 -0700)
docs/api/app.md
docs/api/browser-window.md
docs/api/global-shortcut.md
docs/api/ipc-renderer.md
docs/api/native-image.md
docs/api/remote.md
docs/api/screen.md
docs/api/tray.md
docs/api/web-view-tag.md

index 07b26f2c566300815b9fa2c6d9d8a226b76760b5..42a5dfc242496485e7700e78e1e77956316cf050 100644 (file)
@@ -152,7 +152,7 @@ Emitted when the gpu process crashes.
 
 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()`
 
index e9d2c7f6feb81a785bb0e0810377d6ae2e348979..53a9487733b79d01f3b40b177af4550a51752d01 100644 (file)
@@ -117,7 +117,7 @@ Properties `width` and `height` are required.
 
 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'
 
@@ -292,7 +292,7 @@ Remove the devtools extension whose name is `name`.
 
 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
 var BrowserWindow = require('browser-window');
index f9ca654cf50aa6f0d4102d580008e1bd7abc6da9..adba06e1adcff31ca043a77a9f53935f276aa9be 100644 (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
 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`
 event of the app module is emitted.
 
index 3adb0bc954766ce3f7380ab1a751fe8130b21f01..752af2ebe293ad44b244cdbba3ea8bc96b2b752b 100644 (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.
 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.
 
 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:
 
-**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).
 
 ### `ipc.send(channel[, arg1][, arg2][, ...])`
index c00ec3a9458ab776ae5fa59b154bbb2ac6af4027..df2bb96ff9dabebfb7d6814869fc78f0b31784ce 100644 (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
 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
 `Template`. For example:
index ccb16b4b3cc33acd45444ea6f48e4b03c2354648..5a048fc0789f40d4b0524ee41582fcdcd0aa0231 100644 (file)
@@ -20,7 +20,7 @@ var win = new BrowserWindow({ width: 800, height: 600 });
 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).
 
 ## Remote Objects
index c22530ca8d0a86b6c63ecd308abb7fa20c0f8d51..934e3eaf5a7081b2277fe57c195518aa793150d6 100644 (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).
 
-**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
 examples below, we use `atomScreen` as the variable name instead.
 
index a673307804a714e5fcccfd1964e62ee4aa7a6bb1..528705acb325059a1d4e60c81ad918ad395024e9 100644 (file)
@@ -123,7 +123,7 @@ Emitted when dragged files are dropped in the tray icon.
 
 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.
 
 ### `Tray.destroy()`
index 6b64a0269c5251348328856daf8b1e66269b3393..1d49a3db130cad4e4f5a94d92f98f70f7555b88b 100644 (file)
@@ -135,7 +135,7 @@ If "on", the guest page will have web security disabled.
 
 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**
 ```javascript