Skip to content

Commit

Permalink
Doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiuch committed Sep 24, 2012
1 parent c654a4e commit 1f3ef5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/path.js
Expand Up @@ -204,7 +204,7 @@ exports.Path = require('./class/base.js').extend(function() {
* corresponding extension, controller and action are then
* validated.
*
* If all these match, the `Path` instance will be error-free.
* If all of these match, the `Path` instance will be error-free.
*
* @return {string} Path error
* @see route
Expand All @@ -231,8 +231,8 @@ exports.Path = require('./class/base.js').extend(function() {
/**
* Load path.
*
* If it doesn't have any init error to throw, it instantiates
* and loads controller asynchronously.
* If it doesn't have any validation error to throw, it
* instantiates and loads controller asynchronously.
*
* Each path has a unique domain for handling errors that
* occur under the _thread_ they initiated.
Expand Down Expand Up @@ -284,7 +284,7 @@ exports.Path = require('./class/base.js').extend(function() {
// Set the Content-Type response header if there's a server
// connection involved. This header will be removed if a
// error occurs under this path's domain and the callback is
// passed on to be handled by the error module
// thus passed on to be handled by the error module
if (this.conn) {
this.conn.res.setHeader('Content-Type', this.type);
}
Expand Down

0 comments on commit 1f3ef5a

Please sign in to comment.