You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is correct : Case.camel('This is a test') === "thisIsATest"
But the contrary seems unexpected : Case.upper('thisIsATest') === "THIS IS ATEST" Case.lower('thisIsATest') === "this is atest"
and the same goes for other manipulations
The text was updated successfully, but these errors were encountered:
Hmm. I thought i'd fixed that. Clearly i didn't write a test for it. It's a side effect of trying to support acronyms like my employer's name (ESHA). When busting them out of camel/squish, it's supposed to keep serial caps together and break at the last one before the caps end. Instead it is keeping them with the following word. I have no time to work on it now. Maybe Thursday... Of course, you are welcome to beat me to it. :)
This is correct :
Case.camel('This is a test') === "thisIsATest"
But the contrary seems unexpected :
Case.upper('thisIsATest') === "THIS IS ATEST"
Case.lower('thisIsATest') === "this is atest"
and the same goes for other manipulations
The text was updated successfully, but these errors were encountered: