This PR adds a titleize translation under the shorthand tt. titleize is a string transform inherited from underscore.string that uppercases the first letter of every word ("hello world" -> "Hello World"). The implementation used here, is the same that underscore.string uses. We use this morph a lot internally and I thought it may be common enough to be of use to others.
If this PR goes through and #72 goes through, #72 would need to be updated on it's PropType.
This PR adds a
titleize
translation under the shorthandtt
.titleize
is a string transform inherited from underscore.string that uppercases the first letter of every word ("hello world" -> "Hello World"). The implementation used here, is the same that underscore.string uses. We use this morph a lot internally and I thought it may be common enough to be of use to others.If this PR goes through and #72 goes through, #72 would need to be updated on it's PropType.