Closed gustavoschmidt closed 8 years ago
I am correct in saying this is a breaking change and not sure what benefit there is to merging.
Thanks for your reply @joshhornby. I'm using react-chartjs as global variable in my application, and the exported variable from Chart.js is Chart
and not Chartjs
(https://github.com/nnnick/Chart.js/blob/master/Chart.js#L2014). So to make they work together I needed to create another global variable name Chartjs
. But I shouldn't have changed all the references to Chartjs, only the root. I'm gonna update this PR soon.
This PR is before my time. Do apologize for having it languish this long.
The actual module exported from Chart.js is 'Chart' and not 'Chartjs'.