From 0a2c1e004b665f925cb791d79d14d4aa4ab4acb2 Mon Sep 17 00:00:00 2001 From: Brendan Ashworth Date: Thu, 4 Dec 2014 23:01:55 -0800 Subject: [PATCH] doc: fixes grammar 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](https://github.com/joyent/node/pull/8581) --- doc/api/timers.markdown | 4 ++-- doc/api/tls.markdown | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/timers.markdown b/doc/api/timers.markdown index 92af0b64b4e07b..d05046a50efca9 100644 --- a/doc/api/timers.markdown +++ b/doc/api/timers.markdown @@ -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() @@ -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) diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown index 1b00e488f9d90a..c03845e8721d5c 100644 --- a/doc/api/tls.markdown +++ b/doc/api/tls.markdown @@ -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. @@ -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