Fix the examples that used our '$' method.

This commit is contained in:
Marc Jansen
2012-03-05 22:27:43 +01:00
parent de2eeaab0b
commit 5c2c39c9dd
12 changed files with 20 additions and 3 deletions

View File

@@ -69,6 +69,8 @@
<script src="Jugl.js"></script>
<script src="animator.js"></script>
<script type="text/javascript">
var $ = OpenLayers.Util.getElement;
var map, template;
OpenLayers.ProxyHost = (window.location.host == "localhost") ?
"/cgi-bin/proxy.cgi?url=" : "proxy.cgi?url=";