[Pkg-javascript-commits] [node-static] 140/151: Fix example

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Tue Jan 7 23:18:04 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 cfc9b41eb9eb7cd3e87076118ab4e132d1bcf2b0
Author: Sean Massa <endangeredmassa at gmail.com>
Date:   Mon Aug 5 12:41:16 2013 -0500

    Fix example
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 21ec0d2..ccf2574 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Synopsis
     //
     // Create a node-static server instance to serve the './public' folder
     //
-    var file = new(static.Server)('./public');
+    var file = new static.Server('./public');
 
     require('http').createServer(function (request, response) {
         request.addListener('end', function () {

-- 
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