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

Does not work with jquery 3 #2583

Closed
sssf90 opened this issue Oct 21, 2016 · 8 comments
Closed

Does not work with jquery 3 #2583

sssf90 opened this issue Oct 21, 2016 · 8 comments

Comments

@sssf90
Copy link

sssf90 commented Oct 21, 2016

I am using bootstrap 4 and there is a problem with jquery version. I can't call some methods like

show.bs >

because bootstrap 4 needs jquery 3. But if i load third jquery version slick can't be
initialized.

Somewhy bootstrap and slick worked if i called it like this:

<script   src="https://code.jquery.com/jquery-3.1.1.min.js"   integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="   crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-2.2.0.min.js" type="text/javascript"></script>
<script src="./slick/slick.js" type="text/javascript" charset="utf-8"></script>

But if i called

<script   src="https://code.jquery.com/jquery-3.1.1.min.js"   integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="  crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>
<script src="./slick/slick.js" type="text/javascript" charset="utf-8"></script>
@leggomuhgreggo
Copy link
Collaborator

leggomuhgreggo commented Oct 21, 2016

Slick should work with jquery 3.

Edit: Whoop I was wrong about this. See comment below and issue #2676 and PR #2690

@sssf90
Copy link
Author

sssf90 commented Oct 21, 2016

It does not work on 3.1.1

@leggomuhgreggo
Copy link
Collaborator

Hmm can you recreate the issue in a fiddle? I'm pretty sure the fiddle we provide is set to use jquery@latest so I have my doubts, but if you can create it, I'll check it out.

@sssf90
Copy link
Author

sssf90 commented Oct 21, 2016

I found mistake. Close the topic

Thank you a lot

@sharanadla
Copy link

hi sssf90,

can you please share us with the solution. I am facing a similar problem. The plugin isn't working with "jquery 3.1.1". Do you want me to include both the versions using tag?

@leggomuhgreggo
Copy link
Collaborator

leggomuhgreggo commented Jan 16, 2017

@sharanadla if you grab the current master, the issue should be resolved.

Edit: See issue #2676 and PR #2690

@nestorrojas07
Copy link

es porque se esta usando la version slim que no provee el soporte por lo que se debe usar la version de jquery.min

@korenevskiy
Copy link

Please see, this don`t work this plugin with jQyery 3.3.1 in https://explorer-office.ru/download/gdpr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants