question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CDNJS hyperlink in readme pointing to dc v3.2.1

See original GitHub issue

Tried to use dc (for the first time !) in a project and struggled a bit with the versions of dc, crossfilter (which is crossfilter2 if I’m right) and d3 to use (already using d3 v5 in the project). The README instructions mentioned in the CDN Location section to use unpkg.com links but also specifies :

or copy the latest links from CDNJS

Yet, the page on CDNJS only provides links for dc versions until 3.2.1. Maybe the instructions should be updated for clarity ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gordonwoodhullcommented, Mar 6, 2020

That error has nothing to do with crossfilter. Differences between DCv3 and DCv4 are documented here:

https://github.com/dc-js/dc.js/blob/develop/docs/dc-v4-upgrade-guide.md

In particular, there were no real classes in v3 so the correct syntax was

var surfaceChart = dc.barChart('#surfaceChart')

For compatibility, this syntax is still supported in v4.

(Yes, versions are confusing things. Not much we can do about that.)

0reactions
benjaminhcommented, Mar 6, 2020

Thank you for your explanations ! I mixed things up a little bit but will be more careful in the future about the differences between versions. BTW, great work with this lib 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Link to Pages - ReadMe Documentation
To create a link between pages, start by typing [ and a scrollable menu of available pages to link to will appear. As...
Read more >
hyperlink/README.md at main · untitaker/hyperlink - GitHub
hyperlink. A command-line tool to find broken links in your static site. Fast. docs.sentry.io produces 1.1 GB of HTML files. hyperlink handles this...
Read more >
GitHub relative link in Markdown file - Stack Overflow
Starting today, GitHub supports relative links in markup files. ... If you look at the raw source of the README.md of Markdown itself(!),...
Read more >
Configuration - Gerrit Code Review
Supports OpenID from a single provider. There is no registration link, and the "Sign In" link sends the user directly to the provider's...
Read more >
Cytoscape.js
Graph theory / network library for analysis and visualisation - compatible with CommonJS/Node.js/Browserify/Webpack, AMD/Require.js, npm, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found