From ba21865e28657b8ba78936f1b269bc4203821793 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 13 Oct 2010 19:01:00 +0000 Subject: [PATCH] Update jugl. git-svn-id: http://svn.openlayers.org/trunk/openlayers@10824 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/Jugl.js | 86 ++-------------------------------- examples/example-list.html | 4 +- examples/strategy-cluster.html | 3 +- 3 files changed, 7 insertions(+), 86 deletions(-) diff --git a/examples/Jugl.js b/examples/Jugl.js index 38014ef346..4f81a275cb 100644 --- a/examples/Jugl.js +++ b/examples/Jugl.js @@ -1,84 +1,8 @@ -/** +/* * Jugl.js -- JavaScript Template Library * - * Copyright 2007 Tim Schaub - * Released under the MIT license. Please see - * http://svn.tschaub.net/jugl/trunk/license.txt for the full license. + * Copyright 2007-2010 Tim Schaub + * Released under the MIT license. Please see + * http://github.com/tschaub/jugl/blob/master/license.txt for the full license. */ - -(function(){var Jugl={prefix:"jugl",namespaceURI:"http://namespace.jugl.org/"};Jugl.Array={indexOf:function(array,obj){for(var i=0;i=200&&l.status<300);if(n){try{m=l.responseXML;k=new e(m.documentElement)}catch(j){m=document.createElement("div");m.innerHTML=l.responseText;k=new e(m.firstChild)}if(h.callback){h.callback.call(h.scope,k)}}else{if(h.failure){h.failure.call(h.scope,l)}}};d(h.url,i)}};var g=function(h,j){h=h||{};j=j||{};for(var i in j){h[i]=j[i]}return h};var a=function(l,o){var m,n,k,j,h;if(typeof(l)==="string"){m=document.getElementById(l);if(!m){throw Error("Element id not found: "+l)}l=m}if(typeof(o)==="string"){m=document.getElementById(o);if(!m){throw Error("Element id not found: "+o)}o=m}if(o.namespaceURI&&o.xml){n=document.createElement("div");n.innerHTML=o.xml;k=n.childNodes;for(j=0,h=k.length;j