Typos
authorRyan Dahl <ry@tinyclouds.org>
Mon, 10 Jan 2011 21:50:46 +0000 (13:50 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 27 Jan 2011 22:28:47 +0000 (14:28 -0800)
Closes GH-557.
Closes GH-539.

doc/node.1
lib/buffer.js

index 9defd48..ee12593 100644 (file)
@@ -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.
 
index ade5d5a..2733947 100644 (file)
@@ -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.');
     }