Files
openlayers/examples
Marc Jansen 2641a1135f Add fallback when examples are opened w/ file://.
When opening an example through the `file:`-protocol, e.g.
`file:///ol3/examples/full-screen.html` our `loader.js` would inject
a `<script>` tag with a `src` pointing to an illegal URL
`http://:9810/compile?mode=ADVANCED&id=full-screen`.

This changes the respective logic, so that in the case that we are accessed
through the `file:`-protocol, we fallback to using `localhost` as hostname
for the plovr-compiler.

The examples that do not use XHR (like e.g. `wms-capabilities.html`) now
work as expected when accessed through `file:`-protocol.
2013-03-15 10:29:01 +01:00
..
2013-03-06 15:19:47 +01:00
2013-03-06 15:20:25 +01:00
2013-03-07 02:56:28 +01:00
2013-03-09 02:38:52 +01:00
2013-03-06 15:20:25 +01:00
2013-03-06 21:28:59 +01:00
2013-03-06 21:28:59 +01:00
2013-03-11 12:54:26 +01:00
2013-03-11 12:54:26 +01:00
2013-03-07 01:56:41 +01:00
2012-10-19 21:56:59 +02:00
2013-03-07 01:18:32 +01:00
2013-03-06 20:57:48 +01:00
2013-03-09 21:51:09 +01:00
2013-03-09 21:51:09 +01:00
2013-03-06 20:46:53 +01:00
2013-03-06 20:46:53 +01:00
2013-03-06 21:08:06 +01:00
2013-03-06 20:46:52 +01:00
2013-03-06 20:46:52 +01:00
2013-03-07 23:48:23 -07:00
2013-03-13 09:59:25 +01:00
2013-03-11 10:42:37 +01:00
2013-03-11 10:42:37 +01:00
2013-03-14 09:37:35 +01:00