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

bug in dygraph.min.js #1027

Closed
AdrieK opened this issue Oct 18, 2022 · 2 comments
Closed

bug in dygraph.min.js #1027

AdrieK opened this issue Oct 18, 2022 · 2 comments

Comments

@AdrieK
Copy link

AdrieK commented Oct 18, 2022

I get an error using the online version of

<script src="//cdnjs.cloudflare.com/ajax/libs/dygraph/2.1.0/dygraph.min.js"></script> in a webpage

The error at including the file is:
"DevTools failed to load source map: Could not load content for https://cdnjs.cloudflare.com/ajax/libs/dygraph/2.1.0/dist/dygraph.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE"

If I understand the problem dygraph.min.js.map is not in the /2.1.0/dist directory but in the /2.1.0/

The last line of dygraph.min.js refers to
#sourceMappingURL=dist/dygraph.min.js.map
Should be without the dist/ if I'm correct.
(the not .min(imal) version doesn't has the issue)

@mirabilos
Copy link
Collaborator

mirabilos commented Dec 8, 2022

I haven’t found out how to publish to cdnjs yet, but unpkg took over the updated npm package immediately, so you can try:

https://unpkg.com/[email protected]/dist/dygraph.min.js

Update: it seems to be updating automatically, so try:

https://cdnjs.cloudflare.com/ajax/libs/dygraph/2.1.2-alpha.1/dygraph.min.js

I expect there to be a mostly unchanged, but merged back to this repo, 2.1.2 release soon.

@mirabilos
Copy link
Collaborator

Fixed in v2.1.2

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

2 participants