docs: Fix typos.
This commit is contained in:
parent
41d43920f9
commit
fdcad1066e
4 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue