Qard/express-coffee — pull request #1 by tbohlen (2011-11-06 19:47:23+00:00)
Title: Added opts.src and opts.dest as alternative to opts.path

I wanted to store my coffeescript files in a /views directory rather than /public to match my pattern with .jade/.html and .styl/.css files. To add this flexibility I've checked for src and dest options on construction of the compiler. If they exist they are used instead of opts.path in the appropriate places. Otherwise, opts.path is used. I have not done anything special to handle the case where neither path nor src/dest is provided.

(minor) I also changed content-type from javascript to text/javascript.