summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Ashworth <squirrelslikeacorns@gmail.com>2014-12-05 14:09:57 -0800
committerJulien Gilli <julien.gilli@joyent.com>2014-12-05 14:12:48 -0800
commit5e503f45d2a147d37c5cd4970498b764024382d6 (patch)
treecb09fb2c390b09cc6afbf662e78459c8b636d72a
parent8c868989be778246bc4b9558f087d0f93724b83d (diff)
downloadnode-5e503f45d2a147d37c5cd4970498b764024382d6.tar.gz
doc: fix grammar in tls and timers
Replace 'a' with 'an' where appropriate.
-rw-r--r--doc/api/timers.markdown2
-rw-r--r--doc/api/tls.markdown4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/timers.markdown b/doc/api/timers.markdown
index 2ec7e1c3a..7135de71c 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()
diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown
index ae75e0fe1..cb060cc44 100644
--- a/doc/api/tls.markdown
+++ b/doc/api/tls.markdown
@@ -197,7 +197,7 @@ automatically set as a listener for the [secureConnection][] event. The
SecureContext). If `SNICallback` wasn't provided - default callback with
high-level API will be used (see below).
- - `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.
@@ -421,7 +421,7 @@ connections using TLS or SSL.
`function (cleartextStream) {}`
This event is emitted after a new connection has been successfully
-handshaked. The argument is a instance of [CleartextStream][]. It has all the
+handshaked. The argument is an instance of [CleartextStream][]. It has all the
common stream methods and events.
`cleartextStream.authorized` is a boolean value which indicates if the