Skip to content

Commit 9bca8a0

Browse files
brendanashworthindutny
authored andcommitted
doc: fixes grammar in timers/tls
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 <[email protected]> PR-URL: #76
1 parent 36777d2 commit 9bca8a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/timers.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ you can also pass arguments to the callback.
2828

2929
## clearInterval(intervalObject)
3030

31-
Stops a interval from triggering.
31+
Stops an interval from triggering.
3232

3333
## unref()
3434

@@ -56,7 +56,7 @@ can also pass arguments to the callback.
5656

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

6262
## clearImmediate(immediateObject)

doc/api/tls.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ automatically set as a listener for the [secureConnection][] event. The
221221

222222
NOTE: Automatically shared between `cluster` module workers.
223223

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

@@ -501,7 +501,7 @@ connections using TLS or SSL.
501501
`function (tlsSocket) {}`
502502

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

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

0 commit comments

Comments
 (0)