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

jQuery in no conflict mode #170

Merged
merged 1 commit into from
Jan 19, 2016
Merged

jQuery in no conflict mode #170

merged 1 commit into from
Jan 19, 2016

Conversation

matteofigus
Copy link
Member

When multiple Jquery live in a page, they may conflict.

  • When OC client is loaded and Jquery is found, OC client uses it and all is good ❤️
  • When OC client is loaded and Jquery is not found, OC client downloads it and uses it. If the page then has it (or asyncronously post-downloads it again) OC's loses its events and gets crazy 💔

Using the jQuery's no-conflict mode we are sure that when another instance of jQuery is loaded in the DOM, OC keeps using its own and does its job safely 🍺

http://forum.jquery.com/topic/multiple-versions-of-jquery-on-the-same-page

matteofigus added a commit that referenced this pull request Jan 19, 2016
jQuery in no conflict mode
@matteofigus matteofigus merged commit e6f6894 into master Jan 19, 2016
@matteofigus matteofigus deleted the jquery branch January 19, 2016 18:14
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.

1 participant