From 97e13748fac2fdf977ed0e8a77797a9bce96dbdf Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 10 Jan 2011 13:50:46 -0800 Subject: [PATCH] Typos Closes GH-557. Closes GH-539. --- doc/node.1 | 2 +- lib/buffer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/node.1 b/doc/node.1 index 9defd48c88..ee12593056 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -36,7 +36,7 @@ Execute without arguments to start the REPL. .SH DESCRIPTION Node is a set of libraries for javascript which allows -it to be used outside of the browser. It is primarally +it to be used outside of the browser. It is primarily focused on creating simple, easy to build network clients and servers. diff --git a/lib/buffer.js b/lib/buffer.js index ade5d5ac56..2733947348 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -122,7 +122,7 @@ function Buffer(subject, encoding, offset) { break; default: - throw new Error('First argument need to be an number,' + + throw new Error('First argument needs to be a number, ' + 'array or string.'); }