You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.
It would have saved me a couple of hours if there is some instructions about how to require this module in a CommonJS project. I almost switched to other tools because I was not able to load the module.
The text was updated successfully, but these errors were encountered:
I have to require the library first, then invoke it with a d3 variable before using d3.tip(). Below is my coffeescript code:
d3tip_module = require 'd3-tip'
// d3.tip is defined with the following call
d3tip_module(d3)
// then you can use d3.tip()
d3.tip().attr('class', 'd3-tip')...
It would have saved me a couple of hours if there is some instructions about how to require this module in a CommonJS project. I almost switched to other tools because I was not able to load the module.
The text was updated successfully, but these errors were encountered: