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