MattWilcox/Adaptive-Images — pull request #90 by nikcorg (2012-12-05 23:50:34+00:00)
Title: Code cleanup and redundancy elimination

Removed some redundant statements, fixed some coding style inconsistencies. Also significantly changed logic for some parts, which may or not be acceptable in your mind.

- Dropped multi-tier cache dir structure (it's machine read only, it doesn't need to be clean)
- No longer relies on file extension to exist or be correct (in generateImage)

I tried to keep commits as small as possible, which is why there are so many. I can squash them if you prefer fewer.