Closed petervtzand closed 4 years ago
btw. I don't know exactly how the min.js
and min.js.map
works. I minified the js file online, but I don't know how to create the min.js.map
.
Thanks for your pull request, otherwise I wouldn't noticed the changes in the base repository.
All files in the dist
directory are generated by grunt
, so we usally don't edit these files. Grunt uses the code from src/scripts/chartist-plugin-tooltip.js
to generate the distribution files.
I guess the best way to stay in sync with the main repository (tmmdata/chartist-plugin-tooltip) is to merge the commit from AlexLaforge's pull request #173.
This means that I'll close this pull request, but thanks a lot. The changes will be published to NPM no later than the weekend.
Right now when using a donut chart and
donutSolid=true
, tooltips don't work because the tooltip is set on the tooltipSelectorct-slice-donut
instead ofct-slice-donut-solid
. So I fixed that.This is already fixed in the 'original' repo, but the changes are not pushed to NPM. Since this repo looks better maintained I created a PR for this here.