swlkr/coffee-pot — pull request #1 by Lendar (2012-05-12 22:46:09+00:00)
Title: Configurations are broken

There is a minor typo with dramatic effects.

Here is an [example] (http://expressjs.com/guide.html#configuration) from Express.js:

app.configure(function(){

And here is the latest coffee-pot:

app.configure = ->
...

app.configure 'development', ->
...

app.configure 'production', ->
...

The first line at coffee-pot replaces app.configure with new function (instead of specifying default configuration). Then, development/production configurations are ignored, but new app.configure is called twice.

Obviously, it's just a typo. This commit fixes it.