Closed briancray closed 7 years ago
Because Chartist is never defined globally. Here's an example that shows proper passing of Chartist into the factory in commonjs environments:
https://github.com/Globegitter/chartist-plugin-tooltip/blob/master/dist/chartist-plugin-tooltip.js#L11
Because Chartist is never defined globally. Here's an example that shows proper passing of Chartist into the factory in commonjs environments:
https://github.com/Globegitter/chartist-plugin-tooltip/blob/master/dist/chartist-plugin-tooltip.js#L11