The extant meteor-rickshaw package on atmosphere isn't working with recent versions of Meteor for the following reasons:
Rickshaw is not exported by the package.js using api.export()
The code snippet that sets d3 to require("d3") or window.d3 doesn't work - it ends up setting d3 to undefined. Since we have already imported the d3 variable we don't need this snippet at all.
Sundry reasons to update to the latest version of rickshaw (these may be more to do with my code than the package).
This pull request addresses all three and works for me. You may wish to verify/fix it your own way.
The extant meteor-rickshaw package on atmosphere isn't working with recent versions of Meteor for the following reasons:
Rickshaw
is not exported by the package.js usingapi.export()
d3
torequire("d3")
orwindow.d3
doesn't work - it ends up settingd3
toundefined
. Since we have already imported the d3 variable we don't need this snippet at all.This pull request addresses all three and works for me. You may wish to verify/fix it your own way.