Skip to content

Use fldt.$ to avoid double jQuery.noConflict(true) #313

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

Merged
merged 1 commit into from
Jan 25, 2020

Conversation

martinhanzik
Copy link
Contributor

Fixes #312

tony added a commit to eduflow/flask-mongoengine that referenced this pull request Oct 13, 2018
flask_mongoengine doesn't package it's own jQuery. This .noConflict()
would take the current $ off the window, causing other jQuery calls to
break.

Another approach is used here:
MongoEngine#313
@tony
Copy link
Contributor

tony commented Oct 13, 2018

I did this in a different way, just passing in jQuery, but this PR looks better.

@touilleMan Can this get merged? Looks good on my end!

@insspb
Copy link
Collaborator

insspb commented Jan 25, 2020

@tony merged
@martinhanzik Thank you for contribution, excuse for the long response, there was no maintainers for some time here.

@insspb insspb merged commit 6918d69 into MongoEngine:master Jan 25, 2020
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.

jQuery is undefined
3 participants