Permalink
Browse files

More 0.5.0 docs changes

  • Loading branch information...
1 parent 382053c commit 1051579b01081874b061d3f30367463dedac2caa @Dshankar Dshankar committed Apr 9, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 user_manual.md
View
@@ -13,8 +13,9 @@ NowJS needs an instance of a node.js http server in order to communicate. If you
var yourHttpServer = require('http').createServer(function(req, response){ /* Serve your static files */ });
yourHttpServer.listen(8080);
-At the top of your code, place the following:
-`var everyone = require("now").initialize(yourHttpServer);`
+Using this http server, get NowJS and use it to get a reference to the 'everyone' object.
+ var nowjs = require('now');
+ var everyone = nowjs.initialize(yourHttpServer);
Setup on the client
-------------------

0 comments on commit 1051579

Please sign in to comment.