Open MaestroJurko opened 9 years ago
Yes, although Dimple supports requirejs there is no requirement for it. In fact, we don't use it in our projects.
How? Can you give me an example or a suggestion, where I can do/see this?
Maybe I'm not entirely clear with what you are trying to achieve but the examples use dimple without requirejs. Any example (e.g. https://github.com/PMSI-AlignAlytics/dimple/blob/master/examples/bars_vertical.html) just references dimple using a url and though the chart code is directly in a script tag, it could equally be in an external JavaScript file.
Aha, ok no that is not what I am asking.
I would like to know, how do I have to change Gruntfile build, so that it only includes js files for types of charts that I will use. I do not the whole js file with all chart types, if I don't have them on my page.
Is there a possibility to load charts/js that we want to use, without requirejs?
Some sort of build, where you select which charts you want in minified JS file.