Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

module use wrong naming #161

Closed
DrMabuse23 opened this issue Mar 24, 2015 · 5 comments
Closed

module use wrong naming #161

DrMabuse23 opened this issue Mar 24, 2015 · 5 comments
Labels

Comments

@DrMabuse23
Copy link
Contributor

example create a module

yo m:module foo-bar

creates a folder foo-bar the problem when is use a subgenerator in get something like

angular.module('foo-bar') 

but the generated Name is fooBar

@gruppjo
Copy link
Contributor

gruppjo commented Mar 25, 2015

I'm not sure whether I fully understood what you are trying to do, but:
As indicated by the README.md moduleNames should always use camelCase notation
see: https://github.com/mwaylabs/generator-m#sub-generators

@MathiasTim
Copy link
Contributor

Just a quick thought I saw when reading the sub-generators part in readme:
Is there a reason why you write:

navigate to http://127.0.0.1:9000/#/ in your browser.

because in other cases you write

navigate to http://localhost:9000 yourself

would be good if this is written the same if it makes no difference

@DrMabuse23
Copy link
Contributor Author

So the problem is i can only name my Folders fooBar not foo-bar
because yo m:service fooService fooBar creates not a service in folder foo-bar only in folder fooBar

@gruppjo
Copy link
Contributor

gruppjo commented Jun 5, 2015

related to #148 (how modules work)

@gruppjo
Copy link
Contributor

gruppjo commented Jun 11, 2015

as discussed, use camelCase Notation

@gruppjo gruppjo closed this as completed Jun 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants