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

findAddonByName returning incorrect matches #2916

Merged
merged 1 commit into from
Jan 8, 2015

Conversation

jakecraige
Copy link
Member

closes issue #2915

I'm trying to figure out how best to handle this. I did indexOf instead of === because of this case tested here

I think this method is decent. The only concern I'd have is for perf since it iterates over this.addons twice(potentially), but I can't imagine that costing too much overall. If any of you have concerns or a better solution I'll happily implement it

@jakecraige jakecraige changed the title findAddonByName returning incorrect matches WIP: findAddonByName returning incorrect matches Jan 7, 2015
@jakecraige jakecraige changed the title WIP: findAddonByName returning incorrect matches findAddonByName returning incorrect matches Jan 7, 2015
@stefanpenner
Copy link
Contributor

Lgtm. @rwjblue r?

rwjblue added a commit that referenced this pull request Jan 8, 2015
findAddonByName returning incorrect matches
@rwjblue rwjblue merged commit 3a1f958 into ember-cli:master Jan 8, 2015
@jakecraige jakecraige deleted the issue2915 branch January 8, 2015 02:24
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

3 participants