remixz/dogescript — pull request #67 by mjkaufer (2014-06-06 02:15:21+00:00)
Title: Fixed Node Example

Error beforehand:

C:\Users\me\Documents\compiled.js:28
req.writeHead(200, {'Content-Type': 'text/plain'});
^
TypeError: Object # has no method 'writeHead'
at Server. (C:\Users\me\Documents\compiled.js:28:5)
at Server.EventEmitter.emit (events.js:98:17)
at HTTPParser.parser.onIncoming (http.js:2108:12)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23
)
at Socket.socket.ondata (http.js:1966:22)
at TCP.onread (net.js:525:27)