[Pkg-javascript-commits] [node-static] 03/151: fix error logging

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Tue Jan 7 23:17:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository node-static.

commit 104a1163a9d0a4885c1740c8c37f04c3db5f02fe
Author: cloudhead <self at cloudhead.net>
Date:   Tue Jul 27 00:36:10 2010 -0400

    fix error logging
---
 lib/node-static.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/node-static.js b/lib/node-static.js
index 0fb3a22..cedc7d0 100644
--- a/lib/node-static.js
+++ b/lib/node-static.js
@@ -1,4 +1,5 @@
 var fs = require('fs'),
+    sys = require('sys'),
     url = require('url'),
     path = require('path');
 
@@ -7,7 +8,6 @@ var mime = require('./node-static/mime');
 this.Server = function (root, options) {
     this.root    = path.normalize(root || '.');
     this.options = options || {};
-    this.logger  = this.options.logger || function () {};
 };
 
 this.Server.prototype.serve = function (req, res, errback) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-static.git



More information about the Pkg-javascript-commits mailing list