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

js code fails with jquery 3.5 #79

Open
eradin opened this issue Aug 24, 2020 · 0 comments
Open

js code fails with jquery 3.5 #79

eradin opened this issue Aug 24, 2020 · 0 comments

Comments

@eradin
Copy link

eradin commented Aug 24, 2020

I added jquery 3.5 to my code and I get the following error

jQuery.Deferred exception: SmoothDnD is not a function @http://localhost/sandbox/pdfjs/js/index.js:30:20
e@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:30005
l/</t<@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:30307
setTimeout handlerl/<@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:30516
c@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:28294
fireWith@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:29039
fire@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:29075
c@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:28294
fireWith@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:29039
ready@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:32012
B@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:31791
EventListener.handleEvent
@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:32160
@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:220
@https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:225
undefined jquery.min.js:2:31560

Uncaught TypeError: SmoothDnD is not a function
http://localhost/sandbox/pdfjs/js/index.js:30
jQuery 13

My call to smooth is the following:

var containerElement = document.getElementById('app');
var d = SmoothDnD(containerElement, {});

I'm looking to integrate a simple DnD library and this looked promising. Would like to get this up to test.

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

No branches or pull requests

1 participant