millermedeiros/amd-utils — pull request #69 by conradz (2012-08-17 15:42:24+00:00)
Title: Allow for any delimeter with string/toSlug and add string/underscore

This allows you to specify a delimeter for the `string/toSlug` function. I also added the convenience function `string/underscore` that is the same as `string/hyphenate`, but uses an underscore as the delimeter instead of a hyphen.

This change should be non-breaking, since the added parameter on `string/toSlug` defaults to a hyphen, which it used all the time before.

I also made `string/hyphenate` to have a code style closer to `string/toSlug`. This does not change any of the semantics of `string/hyphenate`, so not sure if I should have incremented the version or not (right now it has the version incremented, although I could change that).