generator-backbone icon indicating copy to clipboard operation
generator-backbone copied to clipboard

Auto-generated name for views is borked for camelCase names

Open kohesion opened this issue 10 years ago • 4 comments

If you already are using camelCase directories and file names, the type name generator ruins the capitalization.

_.Camelize alone isn't sophisticated enough to handle this task.

kohesion avatar Sep 29 '14 02:09 kohesion

@kohesion would you like to help us with a fix? if yes, send us a pull request.

revathskumar avatar Sep 29 '14 04:09 revathskumar

@kohesion Can you provide us a sample input.

revathskumar avatar Oct 02 '14 14:10 revathskumar

Yes, at some point I'd like to contribute.

Fixing things is easy but fixing things properly requires getting familiar with the whole project, writing tests etc.

Right now I don't have time to do it right which is why I'm just hacking up my installation of the generator fixing things for my specific usage.

I might have some time in 2015 to contribute.

Thanks for the invite.

On Sep 29, 2014, at 12:27 AM, Revath S Kumar [email protected] wrote:

@kohesion would you like to help us with a fix? if yes, send us a pull request.

— Reply to this email directly or view it on GitHub.

kohesion avatar Oct 02 '14 15:10 kohesion

@kohesion Its, ok. I will take care of the issue. But please provide us some more info. what was the input you given as the name? what was the output? what was expecting.

revathskumar avatar Oct 02 '14 15:10 revathskumar