Skip to content

Commit

Permalink
Adding faq to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ericz committed Mar 16, 2011
1 parent ad2736f commit aba6980
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions readme.md
Expand Up @@ -40,6 +40,20 @@ NowJS uses the excellent <a href="https://github.com/LearnBoost/Socket.IO-node">
});
&lt;/script>
</code></pre>

FAQ
-------

Q: Can I pass in a callback or closure, for example, if the remote function is asynchronous??
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);
require("now").initialize(app);


Further Reading
---------------

Expand Down

0 comments on commit aba6980

Please sign in to comment.