]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Fix typos.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 20 Aug 2014 02:53:20 +0000 (10:53 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 20 Aug 2014 02:57:39 +0000 (10:57 +0800)
docs/api/chrome-command-line-switches.md
docs/api/tray.md
docs/api/web-security.md
docs/tutorial/debugging-browser-process.md

index e374398cc9aef596cb3427c270d76c7deae9029e..ad0549ddbc09b0d9f50f9fbc307516e1cca9ea8c 100644 (file)
@@ -1,8 +1,8 @@
 # Supported Chrome command line switches
 
 Following command lines switches in Chrome browser are also Supported in
-atom-shell, you can use [app.commandLine.appendSwitch](append-switch) to append
-them in your app's main script before the [ready](ready) event of [app](app)
+atom-shell, you can use [app.commandLine.appendSwitch][append-switch] to append
+them in your app's main script before the [ready][ready] event of [app][app]
 module is emitted:
 
 ```javascript
@@ -40,6 +40,6 @@ connection, and the endpoint host in a `SOCKS` proxy connection).
 
 Like `--host-rules` but these `rules` only apply to the host resolver.
 
-[app](app.md)
-[append-switch](app.md#appcommandlineappendswitchswitch-value)
-[ready](app.md##event-ready)
+[app]: app.md
+[append-switch]: app.md#appcommandlineappendswitchswitch-value
+[ready]: app.md#event-ready
index ebdeae3d0dcce9de312147822d252a782626a2cb..c72963e26c3293ca5b66a40cfbc3040c5e83f543 100644 (file)
@@ -36,7 +36,7 @@ rely on `clicked` event and always attach a context menu to the tray icon.
 
 ## Class: Tray
 
-`Tray` is an [EventEmitter](event-emitter).
+`Tray` is an [EventEmitter][event-emitter].
 
 ### new Tray(image)
 
index fa78342dd1de08429eef95e36f8c743aeb45a40f..cdff3bc41ebd4a3670fc677dcaa635f107192be5 100644 (file)
@@ -7,7 +7,7 @@ convenient.
 ## Overriding `X-Frame-Options` header
 
 May websites (including Google and Youtube) use the
-[X-Frame-Options](x-frame-options) header to disable access to their websites
+[X-Frame-Options][x-frame-options] header to disable access to their websites
 in `iframe`s. In atom-shell you can add a `disable-x-frame-options` string in
 the `iframe`'s name to disable this:
 
@@ -59,4 +59,4 @@ An example of enable node integration in `iframe` with `node-integration` set to
 <iframe src="http://jandan.net"></iframe>
 ```
 
-[x-frame-options](https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options)
+[x-frame-options]: https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options
index 34957312b0d37fe29f5ac8c452844711a42c43d5..bdfb8323faf97f4b4cc8a2ac0740ba49c028786f 100644 (file)
@@ -9,10 +9,10 @@ the browser side (e.g. the browser process), atom-shell has provided the
 
 ### `--debug=[port]`
 
-When this switch is used atom-shell would listen for V8 debugger protocol on
-`port`, the `port` is `5858` by default.
+When this switch is used atom-shell would listen for V8 debugger protocol
+messages on `port`, the `port` is `5858` by default.
 
-### `debug-brk=[port]`
+### `--debug-brk=[port]`
 
 Like `--debug` but pauses the script on the first line.
 
@@ -22,7 +22,7 @@ __Note:__ Atom Shell uses node v0.11.13, which currently doesn't work very well
 with node-inspector, and the browser process would crash if you inspect the
 `process` object under node-inspector's console.
 
-### 1. Start the [node-inspector](node-inspector) server
+### 1. Start the [node-inspector][node-inspector] server
 
 ```bash
 $ node-inspector
@@ -46,4 +46,4 @@ $ atom-shell --debug-brk your/app
 
 Open http://127.0.0.1:8080/debug?port=5858 in the Chrome browser.
 
-[node-inspector](https://github.com/node-inspector/node-inspector)
+[node-inspector]: https://github.com/node-inspector/node-inspector