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

Code Quality: addon.js, project.js D -> C #4146

Merged
merged 1 commit into from May 22, 2015

Conversation

jkarsrud
Copy link
Contributor

This improves some duplication in lib/models/addon.js and lib/models/project.js, as listed in #3730.

It adds a new method to lib/models/addon-discovery.js to map the discovered packages.

@stefanpenner This can be improved even further, but we should probably discuss if it's worth it in terms of readability.

@stefanpenner
Copy link
Contributor

Awesome, what other improvements did you have in mind?

@jkarsrud
Copy link
Contributor Author

I was just thinking if there was a way to remove all duplication, but that might not even be possible, so this might just be it.

stefanpenner added a commit that referenced this pull request May 22, 2015
Code Quality: addon.js, project.js D -> C
@stefanpenner stefanpenner merged commit 8d32022 into ember-cli:master May 22, 2015
@stefanpenner
Copy link
Contributor

I was just thinking if there was a way to remove all duplication, but that might not even be possible, so this might just be it.

ah, ok. :) Thanks for the contribution!

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.

None yet

2 participants