diegoles / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

tree demo does not work offline #348

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout Google Closure Library from SVN
2. Disconnect from internet
3. View the tree demo, you do not see the images.

What is the expected output? What do you see instead?

To use the offline images instead of gstatic.com. I attached a small patch to 
fix the problem.

Original issue reported on code.google.com by ludolph%...@gtempaccount.com on 19 Jul 2011 at 7:12

Attachments:

GoogleCodeExporter commented 8 years ago
this is by design. otherwise, everyone serving the tree JS would also have to 
serve their own images. That would be silly: gstatic is a cookie-less domain, 
and is more likely to be in the user's cache.

If you want to serve your own image, it's easy enough to write a CSS rule that 
points to your own path.

Original comment by Nicholas.J.Santos on 20 Jul 2011 at 2:20