-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
plotly.js breaks when jQuery is imported with no-conflict flag #350
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
Comments
Can you help us out a little more? |
I can sure try! I noticed my plotly JS was not working and it started sometime this morning (it was working early morning and then stopped sometime just before lunch). I used the Chrome developer tools on the Console tab to see that error message. Some quick digging lead me to https://github.com/plotly/plotly.js/blob/master/dist/plotly.js line 58543. I'm thinking just by looking at the way it got minified that there is an issue with the syntax of calling jQuery in this location. Not sure how helpful this is, but I un-minified the script directly from the CDN and this is the function Chrome points to
Specifically the 3rd line with the I hope this helps narrow it down, unfortunately I don't know how to fix the issue :( |
Are you including |
Looks like |
In the meantime, I'd recommend importing <script type="text/javascript" src="https://cdn.plot.ly/plotly-1.6.3.min.js"></script> |
Very likely |
I am including jQuery in my page yes. Using the 1.6.3 version seems to be fine. |
@nemchik Ok. Looks like we found what's causing this issue. Thanks for the report! |
https://cdn.plot.ly/plotly-latest.min.js line 31
Seems to be broken right now.
The text was updated successfully, but these errors were encountered: