mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Fix typos
This commit is contained in:
@@ -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`:
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user