-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[CLEANUP beta] Remove internal jQuery usage #19676
Conversation
f5394c4
to
883137a
Compare
883137a
to
3e4d387
Compare
@mixonic rebased and ready for review |
librariesRegistered = true; | ||
|
||
if (JQUERY_INTEGRATION && hasDOM && !jQueryDisabled) { | ||
libraries.registerCoreLibrary('jQuery', jQuery().jquery); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly unrelated, but is libraries
really used for anything after this removal? I don't think it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, you mean the whole libraries
thing, or just the import here? The import is used here for logging the Ember and possibly other registered addon versions to the console. And for that libraries.register()
is still used in addons (I am using it here for example, but this reminds me I actually have to refactor this to not use the Ember
global!) and ember-data itself. So I think this has to stay!?
@kategengler note, I belatedly updated the title here to include |
👍 As long as it is a recent merged and title is changed before the next beta, I'll catch any updated tags. I look through both commits & PRs due to inconsistency. |
Removes leftover internal jQuery references, and
JQUERY_INTEGRATION
andjQueryDisabled
flags.Should be passing once #19666 and #19675 (or some other PR that removes usage ofjQueryDisabled
fromember-testing
) have landed.