From: Ryan Dahl Date: Mon, 10 Jan 2011 21:50:46 +0000 (-0800) Subject: Typos X-Git-Tag: v0.3.7~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97e13748fac2fdf977ed0e8a77797a9bce96dbdf;p=platform%2Fupstream%2Fnodejs.git Typos Closes GH-557. Closes GH-539. --- diff --git a/doc/node.1 b/doc/node.1 index 9defd48..ee12593 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 ade5d5a..2733947 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.'); }