ericf/photosnear.me — pull request #2 by evocateur (2012-05-16 01:37:06+00:00)
Title: Streamline uglify-js usage and add "minify templates" config

The method chaining in the initial implementation is handled automagically by the main `uglify-js` export, and makes the code read a little more clearer.

Also, it strikes me that minification should only be done in "production" environments, since it's rather hard to debug a problem in development with munged code. :)

The rest of the changes are sops to jshint (missing semicolon, incorrect `next()` call)