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

Don't break if A extensions are not enabled #188

Merged
merged 1 commit into from
Nov 15, 2018
Merged

Don't break if A extensions are not enabled #188

merged 1 commit into from
Nov 15, 2018

Conversation

btecu
Copy link
Member

@btecu btecu commented Sep 26, 2018

Addon breaks in Ember 3.4 if Array extensions are disabled

@jgwhite
Copy link
Contributor

jgwhite commented Sep 27, 2018

Thanks for the patch! I need to fix CI but once it’s back this looks good to merge.

@btecu
Copy link
Member Author

btecu commented Sep 27, 2018

This is really a quick patch. Optimally, the addon shouldn't use or rely on those array prototype extensions.
sortBy('field') is just sort(x => x.field) in native javascript.

@jgwhite jgwhite changed the base branch from 1.x to master November 15, 2018 13:47
@jgwhite jgwhite merged commit 2c3cb05 into adopted-ember-addons:master Nov 15, 2018
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