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

Fixes deprecation warning regarding using includes over contains #43

Merged
merged 2 commits into from
Sep 22, 2016
Merged

Fixes deprecation warning regarding using includes over contains #43

merged 2 commits into from
Sep 22, 2016

Conversation

twokul
Copy link

@twokul twokul commented Sep 22, 2016

screen shot 2016-09-22 at 8 58 09 am

/Users/anavasar/Desktop/Screen Shot 2016-09-22 at 8.58.09 AM.png
@@ -2,12 +2,6 @@
module.exports = {
scenarios: [
{
name: 'default',
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what this was for since tests are running against release, beta and canary

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, probably don't need that. Can you update .travis.yml to eliminate that test run as well?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ronco done!

/Users/anavasar/Desktop/Screen Shot 2016-09-22 at 8.58.09 AM.png
@ronco ronco merged commit cba9e24 into ronco:master Sep 22, 2016
@twokul twokul deleted the deprecation-contains branch September 22, 2016 22:04
@twokul
Copy link
Author

twokul commented Sep 22, 2016

@ronco could you publish a new version?

@ronco
Copy link
Owner

ronco commented Sep 23, 2016

@twokul Published as 3.0.1

@twokul
Copy link
Author

twokul commented Sep 23, 2016

@ronco thanks!

@simenheg
Copy link
Contributor

It should be noted that this breaks compatibility with all Ember versions below 2.8.

A backward-compatible solution would be to use the ember-runtime-enumerable-includes-polyfill
package.

@ronco
Copy link
Owner

ronco commented Oct 25, 2016

Thanks for pointing that out @simenheg . I definitely dropped the ball on the semver compliance there. I'll try to get a version with the polyfill out soon.

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.

3 participants