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

Wrong generation of class name #121

Closed
sleeper opened this issue Nov 15, 2012 · 1 comment · Fixed by #122
Closed

Wrong generation of class name #121

sleeper opened this issue Nov 15, 2012 · 1 comment · Fixed by #122

Comments

@sleeper
Copy link
Contributor

sleeper commented Nov 15, 2012

As explained in yeoman/yeoman#716, although the underscore.string, classify method is thought to transform a string into a class name it is not safe enough as it does not handle non-alphanum characters.

For example, "this is.my.wonderfull.class" will produce ThisIs.My.Wonderfull.Class, which is not a class name (the .), although we would prefer to get ThisIsMyWonderfullClass.

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

Successfully merging a pull request may close this issue.

2 participants