This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 299
export ReactChartJs
#169
Comments
CodePlayer7
changed the title
exports
export Dec 28, 2016
ReactChartJs
rather than react-chartjs
so we can simply call ReactChartJs
rather than window['react-chartjs']
ReactChartJs
@CallMeXYZ, can you provide more details on this issue ? |
when importing this project by url or cdn, we need to call |
This seems like a small enough improvement one could submit a PR for. Would one change this file? https://github.com/reactjs/react-chartjs/blob/master/index.js |
Hi Everyone, I believe this is specified in webpack and not in the source code itself. I am happy to take PRs. That being said, my only concern with this request is that it may break other people's projects using Please see: Helpful resource: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
exports
ReactChartJs
rather thanreact-chartjs
so we can simply callReactChartJs
rather thanwindow['react-chartjs']
The text was updated successfully, but these errors were encountered: