Update jugl.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10824 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2010-10-13 19:01:00 +00:00
parent 113f87b317
commit ba21865e28
3 changed files with 7 additions and 86 deletions

File diff suppressed because one or more lines are too long

View File

@@ -98,8 +98,6 @@
<script type="text/javascript" src="Jugl.js"></script> <script type="text/javascript" src="Jugl.js"></script>
<script type="text/javascript" src="example-list.js"></script> <script type="text/javascript" src="example-list.js"></script>
<script type="text/javascript"> <script type="text/javascript">
// import
var Jugl = window["http://jugl.tschaub.net/trunk/lib/Jugl.js"];
var template, target; var template, target;
function listExamples(examples) { function listExamples(examples) {
@@ -201,7 +199,7 @@
} }
} }
window.onload = function() { window.onload = function() {
template = new Jugl.Template("template"); template = new jugl.Template("template");
target = document.getElementById("examples"); target = document.getElementById("examples");
listExamples(info.examples); listExamples(info.examples);
document.getElementById("exwin").src = "../examples/example.html"; document.getElementById("exwin").src = "../examples/example.html";

View File

@@ -66,7 +66,6 @@
<script src="animator.js"></script> <script src="animator.js"></script>
<script type="text/javascript"> <script type="text/javascript">
var map, template; var map, template;
var Jugl = window["http://jugl.tschaub.net/trunk/lib/Jugl.js"];
OpenLayers.ProxyHost = (window.location.host == "localhost") ? OpenLayers.ProxyHost = (window.location.host == "localhost") ?
"/cgi-bin/proxy.cgi?url=" : "proxy.cgi?url="; "/cgi-bin/proxy.cgi?url=" : "proxy.cgi?url=";
@@ -135,7 +134,7 @@
map.setCenter(new OpenLayers.LonLat(0, 0), 1); map.setCenter(new OpenLayers.LonLat(0, 0), 1);
// template setup // template setup
template = new Jugl.Template("template"); template = new jugl.Template("template");
} }