From 839fb8e19b74c1145875d316e7b896b48e1dbb23 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 24 Feb 2011 16:36:43 -0800 Subject: [PATCH] typos --- doc/api/debugger.markdown | 2 +- doc/api/dns.markdown | 2 +- doc/api/http.markdown | 8 ++++---- doc/api/modules.markdown | 2 +- doc/api/net.markdown | 2 +- doc/api/streams.markdown | 2 +- doc/api/tls.markdown | 2 +- doc/api/tty.markdown | 2 +- doc/v0.4_announcement.html | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/api/debugger.markdown b/doc/api/debugger.markdown index 1d37df8..0bbfeab 100644 --- a/doc/api/debugger.markdown +++ b/doc/api/debugger.markdown @@ -1,6 +1,6 @@ ## Debugger -V8 comes with an extensive debugger which is accessable out-of-process via a +V8 comes with an extensive debugger which is accessible out-of-process via a simple [TCP protocol](http://code.google.com/p/v8/wiki/DebuggerProtocol). Node has a built-in client for this debugger. To use this, start Node with the `debug` argument; a prompt will appear: diff --git a/doc/api/dns.markdown b/doc/api/dns.markdown index fc97655..56021f3 100644 --- a/doc/api/dns.markdown +++ b/doc/api/dns.markdown @@ -33,7 +33,7 @@ AAAA (IPv6) record. The callback has arguments `(err, address, family)`. The `address` argument is a string representation of a IP v4 or v6 address. The `family` argument is either the integer 4 or 6 and denotes the family of `address` (not -neccessarily the value initially passed to `lookup`). +necessarily the value initially passed to `lookup`). ### dns.resolve(domain, rrtype='A', callback) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 6f68eeb..8de8dca 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -267,7 +267,7 @@ implicit/mutable headers will be calculated and call this function for you. ### response.statusCode When using implicit headers (not calling `response.writeHead()` explicitly), this property -controlls the status code that will be send to the client when the headers get +controls the status code that will be send to the client when the headers get flushed. Example: @@ -368,7 +368,7 @@ Options: - `host`: A domain name or IP address of the server to issue the request to. - `port`: Port of remote server. -- `method`: A string specifing the HTTP request method. Possible values: +- `method`: A string specifying the HTTP request method. Possible values: `'GET'` (default), `'POST'`, `'PUT'`, and `'DELETE'`. - `path`: Request path. Should include query string and fragments if any. E.G. `'/index.html?page=12'` @@ -424,7 +424,7 @@ There are a few special headers that should be noted. ## http.get(options, callback) Since most requests are GET requests without bodies, Node provides this -convience method. The only difference between this method and `http.request()` is +convenience method. The only difference between this method and `http.request()` is that it sets the method to GET and calls `req.end()` automatically. Example: @@ -474,7 +474,7 @@ By default set to 5. Determines how many concurrent sockets the agent can have o ### agent.sockets -An array of sockets currently inuse by the Agent. Do not modify. +An array of sockets currently in use by the Agent. Do not modify. ### agent.queue diff --git a/doc/api/modules.markdown b/doc/api/modules.markdown index 55e2fdc..5f2b747 100644 --- a/doc/api/modules.markdown +++ b/doc/api/modules.markdown @@ -95,7 +95,7 @@ First, `/node_modules` is never appended to a folder already ending in `/node_modules`. Second, if the file calling `require()` is already inside a `node_modules` -heirarchy, then the top-most `node_modules` folder is treated as the +hierarchy, then the top-most `node_modules` folder is treated as the root of the search tree. For example, if the file at diff --git a/doc/api/net.markdown b/doc/api/net.markdown index bcb2c96..6c67666 100644 --- a/doc/api/net.markdown +++ b/doc/api/net.markdown @@ -170,7 +170,7 @@ socket is established. If there is a problem connecting, the `'connect'` event will not be emitted, the `'error'` event will be emitted with the exception. -The `callback` paramenter will be added as an listener for the 'connect' +The `callback` parameter will be added as an listener for the 'connect' event. diff --git a/doc/api/streams.markdown b/doc/api/streams.markdown index 0fc4aad..83ad59b 100644 --- a/doc/api/streams.markdown +++ b/doc/api/streams.markdown @@ -47,7 +47,7 @@ support this functionality; all others will simply never emit this event. ### stream.readable A boolean that is `true` by default, but turns `false` after an `'error'` -occured, the stream came to an `'end'`, or `destroy()` was called. +occurred, the stream came to an `'end'`, or `destroy()` was called. ### stream.setEncoding(encoding) Makes the data event emit a string instead of a `Buffer`. `encoding` can be diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown index d9aec2a..fd1b233 100644 --- a/doc/api/tls.markdown +++ b/doc/api/tls.markdown @@ -112,7 +112,7 @@ handshaked. The argument is a duplex instance of `stream.Stream`. It has all the common stream methods and events. `cleartextStream.authorized` is a boolean value which indicates if the -client has verified by one of the supplied cerificate authorities for the +client has verified by one of the supplied certificate authorities for the server. If `cleartextStream.authorized` is false, then `cleartextStream.authorizationError` is set to describe how authorization failed. Implied but worth mentioning: depending on the settings of the TLS diff --git a/doc/api/tty.markdown b/doc/api/tty.markdown index 83cad06..5ec5ee1 100644 --- a/doc/api/tty.markdown +++ b/doc/api/tty.markdown @@ -34,7 +34,7 @@ terminal. ### tty.setRawMode(mode) -`mode` should be `true` or `false`. This sets the properies of the current +`mode` should be `true` or `false`. This sets the properties of the current process's stdin fd to act either as a raw device or default. diff --git a/doc/v0.4_announcement.html b/doc/v0.4_announcement.html index 21ce781..2aa2259 100644 --- a/doc/v0.4_announcement.html +++ b/doc/v0.4_announcement.html @@ -31,7 +31,7 @@ Stream.prototype.pipe() method. Functionality was enhanced and API simplified. -
  • Simplier HTTP client API with connection pools. +
  • Simpler HTTP client API with connection pools.
  • Cheaper Buffer allocation. Node uses Buffer objects in many places - it was noticed that they -- 2.7.4