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

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Apr 26, 2010
1 parent 610faf7 commit cee9080
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/api.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ one-to-one correspondence. As an example, `foo.js` loads the module

The contents of `foo.js`:

var circle = require('./circle'),
var circle = require('./circle');
var sys = require('sys');
sys.puts( 'The area of a circle of radius 4 is '
sys.puts( 'The area of a circle of radius 4 is '
+ circle.area(4));

The contents of `circle.js`:
Expand Down
2 changes: 1 addition & 1 deletion lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ process.EventEmitter.prototype.emit = function (type) {
if (arguments[1] instanceof Error) {
throw arguments[1];
} else {
throw new Error("Uncaught, unspecfied 'error' event.");
throw new Error("Uncaught, unspecified 'error' event.");
}
return false;
}
Expand Down

0 comments on commit cee9080

Please sign in to comment.