docs: Fix typos.

This commit is contained in:
Cheng Zhao 2014-08-20 10:53:20 +08:00
parent 41d43920f9
commit fdcad1066e
4 changed files with 13 additions and 13 deletions

View 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

View 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)

View 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