Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camelize 'dashes' problems. Occurs when double dashes exists in class name #106

Open
grrzz opened this issue Dec 13, 2017 · 1 comment
Open

Comments

@grrzz
Copy link

grrzz commented Dec 13, 2017

There is a problem when hook tries to camelize class which have two or more dash side by side.

For example class from material components: mdc-elevation--z1 is camelized not properly.

Propably regex /-(\w)/g should looks like /-+(\w)/g

:)

@mightyaleksey
Copy link
Member

Should be fixed in 4.2.3. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants