On Fri, Feb 3, 2012 at 3:14 AM, Antony Gelberg <antony.gelb...@gmail.com> wrote: > Package: libjs-openlayers-doc > > I installed this package today as the OL website was down. Sadly, the > examples don't work in either chrome or firefox. Please look into > this.
Looks like the examples try to source ../lib/OpenLayers.js ../theme/default/style.css etc. I take that ideally we would want a solution to work when browsing both of file:///usr/share/doc/libjs-openlayers-doc/examples/ http://localhost/doc/libjs-openlayers-doc/examples/ One solution would be to have a symlink, ln -s -T ../../javascript/openlayers/ /usr/share/doc/libjs-openlayers-docs/lib ln -s -T ../../javascript/openlayers/theme theme I don't know if this would violate any policies though... otherwise if we patch the actual example files with different links to the OL.js file we can't support both file:// and http://localhost I'm happy to make/test a patch if this approach is okay, and no one else wants to do it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org