From 9cf515316399617d1d8b0ad4ccf41f44001ea543 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 8 May 2008 22:10:49 +0000 Subject: [PATCH] updating example list with new jugl style and giving jugl a license git-svn-id: http://svn.openlayers.org/trunk/openlayers@7119 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/Jugl.js | 58 +++++++++++++++++++++----------------- examples/example-list.html | 7 +++-- 2 files changed, 37 insertions(+), 28 deletions(-) diff --git a/examples/Jugl.js b/examples/Jugl.js index 136613b355..38014ef346 100644 --- a/examples/Jugl.js +++ b/examples/Jugl.js @@ -1,19 +1,31 @@ /** * Jugl.js -- JavaScript Template Library - * This code is not yet licensed for release or distribution. * * Copyright 2007 Tim Schaub + * Released under the MIT license. Please see + * http://svn.tschaub.net/jugl/trunk/license.txt for the full license. */ -(function(){var uri="http://jugl.tschaub.net/trunk/lib/Jugl.js";var Jugl={prefix:"jugl",namespaceURI:"http://namespace.jugl.org/"};window[uri]=Jugl;})();(function(){var uri="http://jugl.tschaub.net/trunk/lib/Jugl.js";var Jugl=window[uri];Jugl.Class=function(){var Class=function(){if(this===Jugl){var msg="Create an instance of a Jugl "+"class with the new keyword";throw Error(msg);} +(function(){var Jugl={prefix:"jugl",namespaceURI:"http://namespace.jugl.org/"};Jugl.Array={indexOf:function(array,obj){for(var i=0;i