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

ES getter function with @computed to avoid DEPRECATION warnings #466

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

opendba
Copy link
Contributor

@opendba opendba commented Dec 11, 2017

Simple change in .js files to avoid deprecation warnings from decorators.js

deprecate.js:115 DEPRECATION: using @computed with functions directly will be removed in future versions, using ES getter/setter functions instead [deprecation id: macro-computed-deprecated]

@billy-addepar
Copy link
Contributor

👍

@billy-addepar
Copy link
Contributor

Not sure why lint check fails on test. Let me check.

@billy-addepar
Copy link
Contributor

Tests pass now. There is nothing wrong with your PR. Travis has an issue caching wrong dependency. Clearing Travis fixes it.

@billy-addepar billy-addepar merged commit c1f0e8f into Addepar:master Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants