Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shama authored and bnoordhuis committed May 1, 2012
1 parent f1f5de1 commit c9e6d36
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/api/buffer.markdown
Expand Up @@ -35,7 +35,7 @@ encoding method. Here are the different string encodings.
should be avoided in favor of `Buffer` objects where possible. This encoding
will be removed in future versions of Node.

* `'hex'` - Encode each byte as two hexidecimal characters.
* `'hex'` - Encode each byte as two hexadecimal characters.

## Class: Buffer

Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.markdown
Expand Up @@ -543,7 +543,7 @@ Example:
In node 0.5.3+ there is a new implementation of the HTTP Agent which is used
for pooling sockets used in HTTP client requests.

Previously, a single agent instance help the pool for single host+port. The
Previously, a single agent instance helped pool for a single host+port. The
current implementation now holds sockets for any number of hosts.

The current HTTP Agent also defaults client requests to using
Expand Down
2 changes: 1 addition & 1 deletion doc/api/readline.markdown
Expand Up @@ -77,7 +77,7 @@ Once you have a readline instance, you most commonly listen for the
`"line"` event.

If `terminal` is `true` for this instance then the `output` stream will get
the best compatability if it defines an `output.columns` property, and fires
the best compatibility if it defines an `output.columns` property, and fires
a `"resize"` event on the `output` if/when the columns ever change
(`process.stdout` does this automatically when it is a TTY).

Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.markdown
Expand Up @@ -95,7 +95,7 @@ Example: compile and execute code in a existing context.
// { animal: 'cat', count: 3, name: 'CATT' }

Note that `createContext` will perform a shallow clone of the supplied sandbox object in order to
initialise the global object of the freshly constructed context.
initialize the global object of the freshly constructed context.

Note that running untrusted code is a tricky business requiring great care. To prevent accidental
global variable leakage, `vm.runInContext` is quite useful, but safely running untrusted code
Expand Down

0 comments on commit c9e6d36

Please sign in to comment.