coffeescript-cookbook/coffeescript-cookbook.github.com — pull request #83 by doctorme (2013-08-06 16:57:43+00:00)
Title: Simplified and sped up the "type-function" example.

Simplified and sped up the "type-function" example.

There was no need for all the `split()`, `toLowerCase()` jazz. Just typing out the `classToType` object means this should run much faster and it's easier to read too.