Skip to content

Commit

Permalink
Remove deprecations from test output
Browse files Browse the repository at this point in the history
  • Loading branch information
Robdel12 committed Oct 7, 2016
1 parent e4a983a commit 4dc1cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/x-option.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default Ember.Component.extend({
if (this.get('select.multiple') && isArray(this.get('select.value'))) {
let selectValue = Ember.A(this.get('select.value'));

return selectValue.contains(this.get('value'));
return selectValue.includes(this.get('value'));
} else {
return this.get('value') === this.get('select.value');
}
Expand Down

0 comments on commit 4dc1cd3

Please sign in to comment.