Permalink
Browse files

Merge branch 'master' of github.com:coolaj86/steve

  • Loading branch information...
2 parents 9af4a5b + 195fab8 commit 8e6b865e93e956ebf281f1064ee38a33dfbe7a5a @coolaj86 committed Oct 11, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 connect-nowww/README.md
@@ -33,16 +33,16 @@ Usage
(function () {
"use strict";
- var connect = require('connect')
+ var connect = require('connect') // or express
, nowww = require('nowww')
, server
;
- server = connect.createServer(
- nowww()
- , connect.favicon()
- , connect.static(__dirname + '/')
- );
+ server = connect.createServer()
+ .use(nowww())
+ .use(connect.favicon())
+ .use(connect.static(__dirname + '/'))
+ ;
server.listen(3000);
console.log('Listening on ', 3000);

0 comments on commit 8e6b865

Please sign in to comment.