Permalink
Browse files

Merge remote-tracking branch 'upstream/master'

  • Loading branch information...
Unknown committed May 8, 2012
2 parents c596cc8 + 957e7ac commit d7c633b2dbfe91d4ff37d69999e7e56023516ebd
Showing with 3 additions and 2 deletions.
  1. +3 −2 readme.md
View
@@ -61,9 +61,10 @@ A: Yes. This is 100% supported
**Q: How do I use NowJS with [Express](https://github.com/visionmedia/express)?**
A: Very easily.
+
var app = express.createServer();
- app.listen(3000);
- var everyone = require("now").initialize(app);
+ var server = app.listen(3000);
+ var everyone = require("now").initialize(server);
**Q: How do I disable WebSockets or only use xhr-polling?**

0 comments on commit d7c633b

Please sign in to comment.