Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2011-06-08:

[12:13] <burg> hello. in this code: if i try to pass self.handler as parameter to server.createServer() , then i get no response (the page keeps loading in browser). but if i use server.createServer(function(req, res) { //same code here as in handler() }) , then it works. what am i doing wrong? i am talking about lines 25 and 28

 

 

Logs by date :