Stanford-Online/class2go — pull request #1343 by jrbl (2012-11-20 18:01:55+00:00)
Title: Filetype speedups and tests (prod)

* eliminate an S3 round-trip for filetype lookup
* make icon assignment a constant-time operation
* rename .file_icon() to .get_icon_type() to make its behavior more explicit
* rename .file_ext() to .get_ext()
* Adds unit test