Permalink
Browse files

add coffee script example

  • Loading branch information...
1 parent 4d0584d commit b4d006277361d867156c9f843e95ad983058560c @kaichen committed Jan 21, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 examples/coffee/app.coffee
@@ -0,0 +1,6 @@
+# port from node example app
+http = require('http')
+
+module.exports = http.createServer (req, res) ->
+ res.writeHead(200, { 'Content-Type': 'text/plain' })
+ res.end(this.env.name)

0 comments on commit b4d0062

Please sign in to comment.