Skip to content

Commit

Permalink
Merge 9fa2dab into 45fe02d
Browse files Browse the repository at this point in the history
  • Loading branch information
chulkilee committed Feb 25, 2015
2 parents 45fe02d + 9fa2dab commit c16647d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions lib/proto.js
Expand Up @@ -11,7 +11,6 @@

var finalhandler = require('finalhandler');
var http = require('http');
var debug = require('debug')('connect:dispatcher');
var parseUrl = require('parseurl');

// prototype
Expand Down Expand Up @@ -71,7 +70,6 @@ app.use = function(route, fn){
}

// add the middleware
debug('use %s %s', route || '/', fn.name || 'anonymous');
this.stack.push({ route: route, handle: fn });

return this;
Expand Down Expand Up @@ -198,8 +196,6 @@ function call(handle, route, err, req, res, next) {
var arity = handle.length;
var hasError = Boolean(err);

debug('%s %s : %s', handle.name || '<anonymous>', route, req.originalUrl);

try {
if (hasError && arity === 4) {
// error-handling middleware
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -17,7 +17,6 @@
],
"repository": "senchalabs/connect",
"dependencies": {
"debug": "~2.1.1",
"finalhandler": "0.3.3",
"parseurl": "~1.3.0",
"utils-merge": "1.0.0"
Expand Down

0 comments on commit c16647d

Please sign in to comment.