Skip to content

Commit

Permalink
doc: fixes grammar in timers/tls
Browse files Browse the repository at this point in the history
This commit fixes a few grammar issues located
within the doc files for timers and tls.

They primarily include incorrect use of a / an
and a single insertion of a comma.

same as [this PR](nodejs/node-v0.x-archive#8581)

Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: #76
  • Loading branch information
brendanashworth authored and indutny committed Dec 7, 2014
1 parent 36777d2 commit 9bca8a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/api/timers.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ you can also pass arguments to the callback.

## clearInterval(intervalObject)

Stops a interval from triggering.
Stops an interval from triggering.

## unref()

Expand Down Expand Up @@ -56,7 +56,7 @@ can also pass arguments to the callback.

Callbacks for immediates are queued in the order in which they were created.
The entire callback queue is processed every event loop iteration. If you queue
an immediate from a inside an executing callback that immediate won't fire
an immediate from inside an executing callback, that immediate won't fire
until the next event loop iteration.

## clearImmediate(immediateObject)
Expand Down
4 changes: 2 additions & 2 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ automatically set as a listener for the [secureConnection][] event. The

NOTE: Automatically shared between `cluster` module workers.

- `sessionIdContext`: A string containing a opaque identifier for session
- `sessionIdContext`: A string containing an opaque identifier for session
resumption. If `requestCert` is `true`, the default is MD5 hash value
generated from command-line. Otherwise, the default is not provided.

Expand Down Expand Up @@ -501,7 +501,7 @@ connections using TLS or SSL.
`function (tlsSocket) {}`

This event is emitted after a new connection has been successfully
handshaked. The argument is a instance of [tls.TLSSocket][]. It has all the
handshaked. The argument is an instance of [tls.TLSSocket][]. It has all the
common stream methods and events.

`socket.authorized` is a boolean value which indicates if the
Expand Down

0 comments on commit 9bca8a0

Please sign in to comment.