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

Try requiring Ember if possible instead of using it as a global #83

Closed
wants to merge 1 commit into from
Closed

Try requiring Ember if possible instead of using it as a global #83

wants to merge 1 commit into from

Conversation

boris-petrov
Copy link
Contributor

@boris-petrov boris-petrov commented Nov 5, 2021

Fixes #70

cc @rwjblue

I've copied what you gave in #70 as example code but I added .default after the require - I believe it's necessary?

@boris-petrov
Copy link
Contributor Author

@rwjblue ping. :)

@charlesfries
Copy link

Anything I can do to help get a #70 fix merged?

@boris-petrov
Copy link
Contributor Author

@rwjblue ping. :)

@gzurbach
Copy link

gzurbach commented Jan 7, 2022

I would love to see this merged as well. This might be the last issue preventing me from upgrading to Ember 4. I was able to clear all deprecations warnings in my app on Ember 3.28, besides this one:

Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead.

The call stack indicates the warning comes from this library, which I can't remove quite yet due to other issues.

@boris-petrov
Copy link
Contributor Author

This has been superseded by #89.

@boris-petrov boris-petrov deleted the fix-using-global-ember branch January 26, 2022 20:31
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.

Deprecation warnings with Ember 3.27
3 participants