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

Throw an error if an Addon does not specify a name. #1741

Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Aug 25, 2014

We use a generated name when an addon just uses the default implementation (meaning it doesn't need an index.js), but if you export an object that does not contain name you get very weird and bizarre errors (took me a bit to track it down).

We use a generated name when an addon just uses the default
implementation (meaning it doesn't need an index.js), but if you export
an object that does not contain `name` you get very weird and bizarre
errors (took me a bit to track it down).
@rwjblue rwjblue force-pushed the throw-an-error-if-name-is-not-specified branch from e78e019 to b4d35e9 Compare August 25, 2014 13:59
rwjblue added a commit that referenced this pull request Aug 26, 2014
…pecified

Throw an error if an Addon does not specify a name.
@rwjblue rwjblue merged commit fff1810 into ember-cli:master Aug 26, 2014
@rwjblue rwjblue deleted the throw-an-error-if-name-is-not-specified branch August 26, 2014 00:59
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 this pull request may close these issues.

2 participants