moviepilot/chaplin — pull request #31 by paulmillr (2012-04-18 18:48:02+00:00)
Title: Add dasherize & fix underscorize in lib/utils

Currently `CamelCase` is converted to `_camel_case` in lib/utils/underscorize. I think fixing first char is pretty useful. Consider class names (`TweetList` -> `tweet_list`) etc.

Dasherize adds `CamelCase` -> `camel-case`. Useful in DOM manipulation (many folks use dash classes in css).