Skip to content
Browse files

fixed documentation

  • Loading branch information...
1 parent 202c6fa commit 5f8439b1108a5835b77543b1b6bbad8074188b8f @kadirpekel committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/coffeemate.js
View
6 lib/coffeemate.js
@@ -139,7 +139,7 @@ Coffeemate.prototype.context = CoffeemateContext.prototype;
Coffeemate.prototype.middleware = connect.middleware;
/*
- * override 'connect.HTTPServer.use' method so if any argument is a Coffeemate instance
+ * Override 'connect.HTTPServer.use' method so if any argument is a Coffeemate instance
* build its internal route stack as a self used middleware.
*
* @param {String|Function}
@@ -158,7 +158,8 @@ Coffeemate.prototype.use = function () {
};
/*
- * Build connect router middleware from internal route stack and return as a gateway.
+ * Build connect router middleware from internal route stack and automatically use it.
+ *
* @api private
*/
Coffeemate.prototype.buildRouter = function () {
@@ -176,6 +177,7 @@ Coffeemate.prototype.buildRouter = function () {
/*
* Override 'connect.HTTPServer.listen' to create a pre-hook space for
* preparing router definitions
+ *
* @param {Number} port
* @param {String} hostname
* @param {Function} callback

0 comments on commit 5f8439b

Please sign in to comment.
Something went wrong with that request. Please try again.