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

Fix deprecation warnings #3433

Merged
merged 1 commit into from
Jun 24, 2015
Merged

Fix deprecation warnings #3433

merged 1 commit into from
Jun 24, 2015

Conversation

pangratz
Copy link
Member

I kept each commit separately to see which deprecations are fixed how. If this is 👍, I will squash them and prefix with [CLEANUP beta].

@wecc
Copy link
Contributor

wecc commented Jun 24, 2015

LGTM

- register store as Ember.Service in the tests
- remove deprecated Ember.View from tests
- use store.query instead of deprecated store.findQuery
- use store.findAll(type) instead of deprecated store.find(type)
- use Object.keys instead of deprecated Ember.keys in tests/index.html
@@ -62,7 +62,7 @@

var skipPackageRegexp = new RegExp('^('+skipPackages.join('|')+')/');

var keys = Ember.keys(requirejs.entries);
var keys = Object.keys(requirejs.entries);
Copy link
Member Author

Choose a reason for hiding this comment

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

This one has been missed in #3432

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice catch!

@bmac
Copy link
Member

bmac commented Jun 24, 2015

Looks good.

bmac added a commit that referenced this pull request Jun 24, 2015
@bmac bmac merged commit 9022250 into emberjs:master Jun 24, 2015
@pangratz pangratz deleted the fix_deprecations branch June 24, 2015 21:32
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