Esri / ember-cli-cedar

Ember addon for Esri's Cedar charting library
https://esri.github.io/ember-cli-cedar/#/charts/bar
Apache License 2.0
3 stars 2 forks source link

Feat/lazy load amcharts #100

Closed tomwayson closed 6 years ago

tomwayson commented 6 years ago

https://esriarlington.tpondemand.com/entity/85805-lazy-load-amcharts

default behavior is now to lazy-load amCharts unless you explicitly configure to bundle amCharts in vendor.js

TODO:

tomwayson commented 6 years ago

Thanks, main thing I wanted to verify w/ y'all (and I should have called this out above) is that this solution, like esri-loader, uses document.createElement() to add script/link tags, which obviously won't exist in node, but the idea is that it should never be called on the server (i.e. our apps should only use it in didInsertElement()).