How can i remove CDN dependencies

783 views
Skip to first unread message

Tarun Dabhi

unread,
Jul 16, 2019, 3:29:57 AM7/16/19
to Google Visualization API
I can see the code in loader.js file which makes a call to https://www.gstatic.com/charts/%{version}/loader.js

And this loader internally calls other css and js file from CDN.

Where can i get the npm package which is not making any CDN calls and can give me all the necessary files in the folder. 

Daniel LaLiberte

unread,
Jul 16, 2019, 9:30:39 AM7/16/19
to Google Visualization API
The public API of Google Charts currently relies on web pages always dynamically loading code, so there is no npm package of the code that you can get.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/5f382894-1a75-43fa-a8d9-934baf9e32aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Tarun Dabhi

unread,
Jul 17, 2019, 1:25:46 AM7/17/19
to Google Visualization API
Thanks Daniel.


On Tuesday, July 16, 2019 at 7:00:39 PM UTC+5:30, Daniel LaLiberte wrote:
The public API of Google Charts currently relies on web pages always dynamically loading code, so there is no npm package of the code that you can get.

On Tue, Jul 16, 2019 at 3:30 AM Tarun Dabhi <tarun...@gmail.com> wrote:
I can see the code in loader.js file which makes a call to https://www.gstatic.com/charts/%{version}/loader.js

And this loader internally calls other css and js file from CDN.

Where can i get the npm package which is not making any CDN calls and can give me all the necessary files in the folder. 

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages