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
It seems, accordingly to the docs that it's intentional
S('CarSpeed').underscore().s;//'_car_speed'
Why? The expected result is car_speed, like the ruby equivalent
"CarSpeed".underscore# => "car_speed"
Same issue with dasherize which prefixes with -.
I can't seem to think of any case where I want the prefix. CSS vendor prefixes are an exception to dasherize but as this library is not meant specifically for CSS I wouldn't consider it.
The text was updated successfully, but these errors were encountered:
It seems, accordingly to the docs that it's intentional
Why? The expected result is
car_speed
, like the ruby equivalentSame issue with
dasherize
which prefixes with-
.I can't seem to think of any case where I want the prefix. CSS vendor prefixes are an exception to
dasherize
but as this library is not meant specifically for CSS I wouldn't consider it.The text was updated successfully, but these errors were encountered: