Permalink
Browse files

Fixing 0.5.0 changes

  • Loading branch information...
1 parent 8532479 commit 34097feac487ba0ff1a6668e2cd7c649b77bd528 @Dshankar Dshankar committed Apr 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 user_manual.md
View
@@ -77,9 +77,9 @@ Calling `require('now')` on the server returns a reference to the NowJS module o
var nowjs = require('now');
-In NowJS < 0.5.0, it was common practice to immediately chain an `initialize` call after requiring the module, rather than storing a reference to the module object. Such code would look like this:
+In previous versions of NowJS, before 0.5.0, it was common practice to immediately chain an `initialize` call after requiring the module, rather than storing a reference to the module object. Such code would look like this:
- var everyone = require('now').initialize(httpServer);
+ var everyone = require('now').initialize(httpServer); // pre 0.5.0
As of NowJS 0.5.0, it is strongly encouraged to break this up into two different calls, so that a reference to the NowJS module object can be stored, like this:

0 comments on commit 34097fe

Please sign in to comment.