SWF-906 - Upgrade to Dojo 1.2 - Clean Commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");dojo.require("dojo._base.array");dojo.require("dojo._base.lang");dojo.Color=function(_1){if(_1){this.setColor(_1);}};dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]};dojo.extend(dojo.Color,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_7){var d=dojo;if(d.isString(_7)){d.colorFromString(_7,this);}else{if(d.isArray(_7)){d.colorFromArray(_7,this);}else{this._set(_7.r,_7.g,_7.b,_7.a);if(!(_7 instanceof d.Color)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var _b=dojo.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+_b.join("");},toCss:function(_e){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_e?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_11,end,_13,obj){var d=dojo,t=obj||new dojo.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_11[x]+(end[x]-_11[x])*_13;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_18,obj){var m=_18.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_1b,obj){var d=dojo,t=obj||new d.Color(),_1f=(_1b.length==4)?4:8,_20=(1<<_1f)-1;_1b=Number("0x"+_1b.substr(1));if(isNaN(_1b)){return null;}d.forEach(["b","g","r"],function(x){var c=_1b&_20;_1b>>=_1f;t[x]=_1f==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");dojo.require("dojo._base.lang");dojo.Deferred=function(_1){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_1;this.silentlyCancelled=false;};dojo.extend(dojo.Deferred,{_nextId:(function(){var n=1;return function(){return n++;};})(),cancel:function(){var _3;if(this.fired==-1){if(this.canceller){_3=this.canceller(this);}else{this.silentlyCancelled=true;}if(this.fired==-1){if(!(_3 instanceof Error)){var _4=_3;_3=new Error("Deferred Cancelled");_3.dojoType="cancel";_3.cancelResult=_4;}this.errback(_3);}}else{if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){this.results[0].cancel();}}},_resback:function(_5){this.fired=((_5 instanceof Error)?1:0);this.results[this.fired]=_5;this._fire();},_check:function(){if(this.fired!=-1){if(!this.silentlyCancelled){throw new Error("already called!");}this.silentlyCancelled=false;return;}},callback:function(_6){this._check();this._resback(_6);},errback:function(_7){this._check();if(!(_7 instanceof Error)){_7=new Error(_7);}this._resback(_7);},addBoth:function(cb,_9){var _a=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_a,_a);},addCallback:function(cb,_c){return this.addCallbacks(dojo.hitch.apply(dojo,arguments));},addErrback:function(cb,_e){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0){this._fire();}return this;},_fire:function(){var _11=this.chain;var _12=this.fired;var res=this.results[_12];var _14=this;var cb=null;while((_11.length>0)&&(this.paused==0)){var f=_11.shift()[_12];if(!f){continue;}var _17=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_12=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){_14._resback(res);_14.paused--;if((_14.paused==0)&&(_14.fired>=0)){_14._fire();}};this.paused++;}};if(dojo.config.isDebug){_17.call(this);}else{try{_17.call(this);}catch(err){_12=1;res=err;}}}this.fired=_12;this.results[_12]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");dojo.require("dojo._base.lang");dojo.require("dojo._base.array");(function(){var d=dojo;var _2=function(_3){_3.constructor=dojo.NodeList;dojo._mixin(_3,dojo.NodeList.prototype);return _3;};var _4=function(_5,_6){return function(){var _a=arguments;var aa=d._toArray(_a,0,[null]);var s=this.map(function(i){aa[0]=i;return d[_5].apply(d,aa);});return (_6||((_a.length>1)||!d.isString(_a[0])))?this:s;};};dojo.NodeList=function(){return _2(Array.apply(null,arguments));};dojo.NodeList._wrap=_2;dojo.extend(dojo.NodeList,{slice:function(){var a=d._toArray(arguments);return _2(a.slice.apply(this,a));},splice:function(){var a=d._toArray(arguments);return _2(a.splice.apply(this,a));},concat:function(){var a=d._toArray(arguments,0,[this]);return _2(a.concat.apply([],a));},indexOf:function(_e,_f){return d.indexOf(this,_e,_f);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_10,_11){return d.every(this,_10,_11);},some:function(_12,_13){return d.some(this,_12,_13);},map:function(_14,obj){return d.map(this,_14,obj,d.NodeList);},forEach:function(_16,_17){d.forEach(this,_16,_17);return this;},coords:function(){return d.map(this,d.coords);},attr:_4("attr"),style:_4("style"),addClass:_4("addClass",true),removeClass:_4("removeClass",true),toggleClass:_4("toggleClass",true),connect:_4("connect",true),place:function(_18,_19){var _1a=d.query(_18)[0];return this.forEach(function(i){d.place(i,_1a,_19);});},orphan:function(_1c){return (_1c?d._filterQueryResult(this,_1c):this).forEach("if(item.parentNode){ item.parentNode.removeChild(item); }");},adopt:function(_1d,_1e){var _1f=this[0];return d.query(_1d).forEach(function(ai){d.place(ai,_1f,_1e||"last");});},query:function(_21){if(!_21){return this;}var ret=d.NodeList();this.forEach(function(_23){ret=ret.concat(d.query(_21,_23).filter(function(_24){return (_24!==undefined);}));});return ret;},filter:function(_25){var _26=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(t!==undefined){r.push(t);}};if(d.isString(_25)){_26=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _26;}_a.shift();}d.forEach(d.filter(_26,_a[0],_a[1]),rp);return r;},addContent:function(_2b,_2c){var ta=d.doc.createElement("span");if(d.isString(_2b)){ta.innerHTML=_2b;}else{ta.appendChild(_2b);}if(_2c===undefined){_2c="last";}var ct=(_2c=="first"||_2c=="after")?"lastChild":"firstChild";this.forEach(function(_2f){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],_2f,_2c);}});return this;},empty:function(){return this.forEach("item.innerHTML='';");},instantiate:function(_31,_32){var c=d.isFunction(_31)?_31:d.getObject(_31);return this.forEach(function(i){new c(_32||{},i);});},at:function(){var nl=new dojo.NodeList();dojo.forEach(arguments,function(i){if(this[i]){nl.push(this[i]);}},this);return nl;}});d.forEach(["blur","focus","click","keydown","keypress","keyup","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit","load","error"],function(evt){var _oe="on"+evt;d.NodeList.prototype[_oe]=function(a,b){return this.connect(_oe,a,b);};});})();}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/_base/_loader/bootstrap.js
vendored
Normal file
8
spring-js/src/main/resources/META-INF/dojo/_base/_loader/bootstrap.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
(function(){if(!this["console"]){this.console={};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _4=tn+"";console[_4]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_4+":");console["log"](a.join(" "));}:function(){};})();}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _7 in djConfig){d.config[_7]=djConfig[_7];}}var _8=["Browser","Rhino","Spidermonkey","Mobile"];var t;while((t=_8.shift())){d["is"+t]=false;}dojo.locale=d.config.locale;var _a="$Rev: 15385 $".match(/\d+/);dojo.version={major:1,minor:2,patch:0,flag:"",revision:_a?+_a[0]:999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(_b,_c){var _d={};for(var x in _c){if(_d[x]===undefined||_d[x]!=_c[x]){_b[x]=_c[x];}}if(d["isIE"]&&_c){var p=_c.toString;if(typeof p=="function"&&p!=_b.toString&&p!=_d.toString&&p!="\nfunction toString() {\n [native code]\n}\n"){_b.toString=_c.toString;}}return _b;};dojo.mixin=function(obj,_11){for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_14,_15,_16){var obj=_16||d.global;for(var i=0,p;obj&&(p=_14[i]);i++){if(i==0&&this._scopeMap[p]){p=this._scopeMap[p];}obj=(p in obj?obj[p]:(_15?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_1a,_1b,_1c){var _1d=_1a.split("."),p=_1d.pop(),obj=d._getProp(_1d,true,_1c);return obj&&p?(obj[p]=_1b):undefined;};dojo.getObject=function(_20,_21,_22){return d._getProp(_20.split("."),_21,_22);};dojo.exists=function(_23,obj){return !!d.getObject(_23,false,obj);};dojo["eval"]=function(_25){return d.global.eval?d.global.eval(_25):eval(_25);};d.deprecated=d.experimental=function(){};})();
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _2=document.getElementsByTagName("script");var _3=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_2.length;i++){var _5=_2[i].getAttribute("src");if(!_5){continue;}var m=_5.match(_3);if(m){if(!d.config.baseUrl){d.config.baseUrl=_5.substring(0,m.index);}var _7=_2[i].getAttribute("djConfig");if(_7){var _8=eval("({ "+_7+" })");for(var x in _8){dojo.config[x]=_8[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var _b=n.userAgent;var _c=n.appVersion;var tv=parseFloat(_c);if(_b.indexOf("Opera")>=0){d.isOpera=tv;}var _e=Math.max(_c.indexOf("WebKit"),_c.indexOf("Safari"),0);if(_e){d.isSafari=parseFloat(_c.split("Version/")[1])||(parseFloat(_c.substr(_e+7))>419.3)?3:2;}if(_b.indexOf("AdobeAIR")>=0){d.isAIR=1;}if(_c.indexOf("Konqueror")>=0||d.isSafari){d.isKhtml=tv;}if(_b.indexOf("Gecko")>=0&&!d.isKhtml){d.isMozilla=d.isMoz=tv;}if(d.isMoz){d.isFF=parseFloat(_b.split("Firefox/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(_c.split("MSIE ")[1])||undefined;}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}var cm=document.compatMode;d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _10=null;var _11=null;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_10=new XMLHttpRequest();}catch(e){}}if(!_10){for(var i=0;i<3;++i){var _13=d._XMLHTTP_PROGIDS[i];try{_10=new ActiveXObject(_13);}catch(e){_11=e;}if(_10){d._XMLHTTP_PROGIDS=[_13];break;}}}if(!_10){throw new Error("XMLHTTP not available: "+_11);}return _10;};d._isDocumentOk=function(_14){var _15=_14.status||0;return (_15>=200&&_15<300)||_15==304||_15==1223||(!_15&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _16=window.location+"";var _17=document.getElementsByTagName("base");var _18=(_17&&_17.length>0);d._getText=function(uri,_1a){var _1b=this._xhrObj();if(!_18&&dojo._Url){uri=(new dojo._Url(_16,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_1b.open("GET",uri,false);try{_1b.send(null);if(!d._isDocumentOk(_1b)){var err=Error("Unable to load "+uri+" status:"+_1b.status);err.status=_1b.status;err.responseText=_1b.responseText;throw err;}}catch(e){if(_1a){return null;}throw e;}return _1b.responseText;};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=this._windowUnloaders;while(mll.length){(mll.pop())();}};d.addOnWindowUnload=function(obj,_1f){d._onto(d._windowUnloaders,obj,_1f);};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _21=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_21!="domcontentloaded"&&_21!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};dojo._fakeLoadInit=function(){dojo._loadInit({type:"load"});};if(!dojo.config.afterOnLoad){if(document.addEventListener){if(dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(dojo.isAIR){window.addEventListener("load",dojo._loadInit,null);}else{if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}(function(){var _w=window;var _23=function(_24,fp){var _26=_w[_24]||function(){};_w[_24]=function(){fp.apply(_w,arguments);_26.apply(_w,arguments);};};if(dojo.isIE){if(!dojo.config.afterOnLoad){document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){"+dojo._scopeName+"._loadInit();}\">"+"</scr"+"ipt>");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}_23("onbeforeunload",function(){dojo.unloaded();});_23("onunload",function(){dojo.windowUnloaded();});})();}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _28 in mp){dojo.registerModulePath(_28,mp[_28]);}}})();if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.config.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");dojo.require("dojo.i18n");}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(dojo.config["baseUrl"]){dojo.baseUrl=dojo.config["baseUrl"];}else{dojo.baseUrl="./";}dojo.locale=dojo.locale||String(java.util.Locale.getDefault().toString().replace("_","-").toLowerCase());dojo._name="rhino";dojo.isRhino=true;if(typeof print=="function"){console.debug=print;}if(typeof dojo["byId"]=="undefined"){dojo.byId=function(id,_2){if(id&&(typeof id=="string"||id instanceof String)){if(!_2){_2=document;}return _2.getElementById(id);}return id;};}dojo._loadUri=function(_3,cb){try{var _5=(new java.io.File(_3)).exists();if(!_5){try{var _6=(new java.net.URL(_3)).openStream();_6.close();}catch(e){return false;}}if(cb){var _7=(_5?readText:readUri)(_3,"UTF-8");cb(eval("("+_7+")"));}else{load(_3);}return true;}catch(e){console.debug("rhino load('"+_3+"') failed. Exception: "+e);return false;}};dojo.exit=function(_8){quit(_8);};dojo._rhinoCurrentScriptViaJava=function(_9){var _a=Packages.org.mozilla.javascript.Context.getCurrentContext().getOptimizationLevel();var _b=new java.io.CharArrayWriter();var pw=new java.io.PrintWriter(_b);var _d=new java.lang.Exception();var s=_b.toString();var _f=s.match(/[^\(]*\.js\)/gi);if(!_f){throw Error("cannot parse printStackTrace output: "+s);}var _10=((typeof _9!="undefined")&&(_9))?_f[_9+1]:_f[_f.length-1];_10=_f[3];if(!_10){_10=_f[1];}if(!_10){throw Error("could not find js file in printStackTrace output: "+s);}return _10;};function readText(_11,_12){_12=_12||"utf-8";var jf=new java.io.File(_11);var is=new java.io.FileInputStream(jf);return dj_readInputStream(is,_12);};function readUri(uri,_16){var _17=(new java.net.URL(uri)).openConnection();_16=_16||_17.getContentEncoding()||"utf-8";var is=_17.getInputStream();return dj_readInputStream(is,_16);};function dj_readInputStream(is,_1a){var _1b=new java.io.BufferedReader(new java.io.InputStreamReader(is,_1a));try{var sb=new java.lang.StringBuffer();var _1d="";while((_1d=_1b.readLine())!==null){sb.append(_1d);sb.append(java.lang.System.getProperty("line.separator"));}return sb.toString();}finally{_1b.close();}};if((!dojo.config.libraryScriptUri)||(!dojo.config.libraryScriptUri.length)){try{dojo.config.libraryScriptUri=dojo._rhinoCurrentScriptViaJava(1);}catch(e){if(dojo.config["isDebug"]){print("\n");print("we have no idea where Dojo is located.");print("Please try loading rhino in a non-interpreted mode or set a");print("\n\tdjConfig.libraryScriptUri\n");print("Setting the dojo path to './'");print("This is probably wrong!");print("\n");print("Dojo will try to load anyway");}dojo.config.libraryScriptUri="./";}}dojo.doc=typeof (document)!="undefined"?document:null;dojo.body=function(){return document.body;};try{setTimeout;clearTimeout;}catch(e){dojo._timeouts=[];function clearTimeout(idx){if(!dojo._timeouts[idx]){return;}dojo._timeouts[idx].stop();};function setTimeout(_1f,_20){var def={sleepTime:_20,hasSlept:false,run:function(){if(!this.hasSlept){this.hasSlept=true;java.lang.Thread.currentThread().sleep(this.sleepTime);}try{_1f();}catch(e){console.debug("Error running setTimeout thread:"+e);}}};var _22=new java.lang.Runnable(def);var _23=new java.lang.Thread(_22);_23.start();return dojo._timeouts.push(_23)-1;};}if(dojo.config["modulePaths"]){for(var param in dojo.config["modulePaths"]){dojo.registerModulePath(param,dojo.config["modulePaths"][param]);}}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(dojo.config["baseUrl"]){dojo.baseUrl=dojo.config["baseUrl"];}else{dojo.baseUrl="./";}dojo._name="spidermonkey";dojo.isSpidermonkey=true;dojo.exit=function(_1){quit(_1);};if(typeof print=="function"){console.debug=print;}if(typeof line2pc=="undefined"){throw new Error("attempt to use SpiderMonkey host environment when no 'line2pc' global");}dojo._spidermonkeyCurrentFile=function(_2){var s="";try{throw Error("whatever");}catch(e){s=e.stack;}var _4=s.match(/[^@]*\.js/gi);if(!_4){throw Error("could not parse stack string: '"+s+"'");}var _5=(typeof _2!="undefined"&&_2)?_4[_2+1]:_4[_4.length-1];if(!_5){throw Error("could not find file name in stack string '"+s+"'");}return _5;};dojo._loadUri=function(_6){var ok=load(_6);return 1;};if(dojo.config["modulePaths"]){for(var param in dojo.config["modulePaths"]){dojo.registerModulePath(param,dojo.config["modulePaths"][param]);}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base._loader.loader_debug"]){dojo._hasResource["dojo._base._loader.loader_debug"]=true;dojo.provide("dojo._base._loader.loader_debug");dojo.nonDebugProvide=dojo.provide;dojo.provide=function(_1){var _2=dojo["_xdDebugQueue"];if(_2&&_2.length>0&&_1==_2["currentResourceName"]){if(dojo.isAIR){window.setTimeout(function(){dojo._xdDebugFileLoaded(_1);},1);}else{window.setTimeout(dojo._scopeName+"._xdDebugFileLoaded('"+_1+"')",1);}}return dojo.nonDebugProvide.apply(dojo,arguments);};dojo._xdDebugFileLoaded=function(_3){if(!this._xdDebugScopeChecked){if(dojo._scopeName!="dojo"){window.dojo=window[dojo.config.scopeMap[0][1]];window.dijit=window[dojo.config.scopeMap[1][1]];window.dojox=window[dojo.config.scopeMap[2][1]];}this._xdDebugScopeChecked=true;}var _4=this._xdDebugQueue;if(_3&&_3==_4.currentResourceName){_4.shift();}if(_4.length==0){dojo._xdWatchInFlight();}if(_4.length==0){_4.currentResourceName=null;for(var _5 in this._xdInFlight){if(this._xdInFlight[_5]===true){return;}}this._xdNotifyLoaded();}else{if(_3==_4.currentResourceName){_4.currentResourceName=_4[0].resourceName;var _6=document.createElement("script");_6.type="text/javascript";_6.src=_4[0].resourcePath;document.getElementsByTagName("head")[0].appendChild(_6);}}};}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.require("dojo._base.lang");dojo.provide("dojo._base.array");(function(){var _1=function(_2,_3,cb){return [dojo.isString(_2)?_2.split(""):_2,_3||dojo.global,dojo.isString(cb)?new Function("item","index","array",cb):cb];};dojo.mixin(dojo,{indexOf:function(_5,_6,_7,_8){var _9=1,_a=_5.length||0,i=0;if(_8){i=_a-1;_9=_a=-1;}if(_7!=undefined){i=_7;}if((_8&&i>_a)||i<_a){for(;i!=_a;i+=_9){if(_5[i]==_6){return i;}}}return -1;},lastIndexOf:function(_c,_d,_e){return dojo.indexOf(_c,_d,_e,true);},forEach:function(_f,_10,_11){if(!_f||!_f.length){return;}var _p=_1(_f,_11,_10);_f=_p[0];for(var i=0,l=_f.length;i<l;++i){_p[2].call(_p[1],_f[i],i,_f);}},_everyOrSome:function(_15,arr,_17,_18){var _p=_1(arr,_18,_17);arr=_p[0];for(var i=0,l=arr.length;i<l;++i){var _1c=!!_p[2].call(_p[1],arr[i],i,arr);if(_15^_1c){return _1c;}}return _15;},every:function(arr,_1e,_1f){return this._everyOrSome(true,arr,_1e,_1f);},some:function(arr,_21,_22){return this._everyOrSome(false,arr,_21,_22);},map:function(arr,_24,_25){var _p=_1(arr,_25,_24);arr=_p[0];var _27=(arguments[3]?(new arguments[3]()):[]);for(var i=0,l=arr.length;i<l;++i){_27.push(_p[2].call(_p[1],arr[i],i,arr));}return _27;},filter:function(arr,_2b,_2c){var _p=_1(arr,_2c,_2b);arr=_p[0];var _2e=[];for(var i=0,l=arr.length;i<l;++i){if(_p[2].call(_p[1],arr[i],i,arr)){_2e.push(arr[i]);}}return _2e;}});})();}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");dojo.require("dojo._base.window");dojo.require("dojo._base.event");dojo.require("dojo._base.html");dojo.require("dojo._base.NodeList");dojo.require("dojo._base.query");dojo.require("dojo._base.xhr");dojo.require("dojo._base.fx");if(dojo.config.require){dojo.forEach(dojo.config.require,"dojo['require'](item);");}}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo.require("dojo._base.lang");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;var r=t&&t.apply(this,arguments);var _6;_6=[].concat(ls);for(var i in _6){if(!(i in ap)){_6[i].apply(this,arguments);}}return r;};},add:function(_8,_9,_a){_8=_8||dojo.global;var f=_8[_9];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_8[_9]=d;}return f._listeners.push(_a);},remove:function(_d,_e,_f){var f=(_d||dojo.global)[_e];if(f&&f._listeners&&_f--){delete f._listeners[_f];}}};dojo.connect=function(obj,_12,_13,_14,_15){var a=arguments,_17=[],i=0;_17.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];_17.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){_17.push(a[i]);}return dojo._connect.apply(this,_17);};dojo._connect=function(obj,_1c,_1d,_1e){var l=dojo._listener,h=l.add(obj,_1c,dojo.hitch(_1d,_1e));return [obj,_1c,h,l];};dojo.disconnect=function(_21){if(_21&&_21[0]!==undefined){dojo._disconnect.apply(this,_21);delete _21[0];}};dojo._disconnect=function(obj,_23,_24,_25){_25.remove(obj,_23,_24);};dojo._topics={};dojo.subscribe=function(_26,_27,_28){return [_26,dojo._listener.add(dojo._topics,_26,dojo.hitch(_27,_28))];};dojo.unsubscribe=function(_29){if(_29){dojo._listener.remove(dojo._topics,_29[0],_29[1]);}};dojo.publish=function(_2a,_2b){var f=dojo._topics[_2a];if(f){f.apply(this,_2b||[]);}};dojo.connectPublisher=function(_2d,obj,_2f){var pf=function(){dojo.publish(_2d,arguments);};return (_2f)?dojo.connect(obj,_2f,pf):dojo.connect(obj,pf);};}
|
||||
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");dojo.require("dojo._base.lang");dojo.declare=function(_1,_2,_3){var dd=arguments.callee,_5;if(dojo.isArray(_2)){_5=_2;_2=_5.shift();}if(_5){dojo.forEach(_5,function(m){if(!m){throw (_1+": mixin #"+i+" is null");}_2=dd._delegate(_2,m);});}var _7=dd._delegate(_2);_3=_3||{};_7.extend(_3);dojo.extend(_7,{declaredClass:_1,_constructor:_3.constructor});_7.prototype.constructor=_7;return dojo.setObject(_1,_7);};dojo.mixin(dojo.declare,{_delegate:function(_8,_9){var bp=(_8||0).prototype,mp=(_9||0).prototype,dd=dojo.declare;var _d=dd._makeCtor();dojo.mixin(_d,{superclass:bp,mixin:mp,extend:dd._extend});if(_8){_d.prototype=dojo._delegate(bp);}dojo.extend(_d,dd._core,mp||0,{_constructor:null,preamble:null});_d.prototype.constructor=_d;_d.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return _d;},_extend:function(_e){var i,fn;for(i in _e){if(dojo.isFunction(fn=_e[i])&&!0[i]){fn.nom=i;fn.ctor=this;}}dojo.extend(this,_e);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(_11){var c=_11.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=_11,ii,fn;if(a[0]){if(((fn=a[0].preamble))){a=fn.apply(this,a)||a;}}if((fn=c.prototype.preamble)){a=fn.apply(this,a)||a;}if(ct&&ct.apply){ct.apply(this,a);}if(mct&&mct.apply){mct.apply(this,a);}if((ii=c.prototype._constructor)){ii.apply(this,_11);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,_11);}},_findMixin:function(_1a){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_1a||(m instanceof _1a.constructor)){return p;}if(m&&m._findMixin&&(m=m._findMixin(_1a))){return m;}c=p&&p.constructor;}},_findMethod:function(_1e,_1f,_20,has){var p=_20,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(_1e,_1f,m,has))){return m;}if((f=p[_1e])&&(has==(f==_1f))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_20))&&this._findMethod(_1e,_1f,p,has);},inherited:function(_26,_27,_28){var a=arguments;if(!dojo.isString(a[0])){_28=_27;_27=_26;_26=_27.callee.nom;}a=_28||_27;var c=_27.callee,p=this.constructor.prototype,fn,mp;if(this[_26]!=c||p[_26]==c){mp=(c.ctor||0).superclass||this._findMethod(_26,c,p,true);if(!mp){throw (this.declaredClass+": inherited method \""+_26+"\" mismatch");}p=this._findMethod(_26,c,mp,false);}fn=p&&p[_26];if(!fn){throw (mp.declaredClass+": inherited method \""+_26+"\" not found");}return fn.apply(this,a);}}});}
|
||||
File diff suppressed because one or more lines are too long
8
spring-js/src/main/resources/META-INF/dojo/_base/fx.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/_base/fx.js
Normal file
File diff suppressed because one or more lines are too long
8
spring-js/src/main/resources/META-INF/dojo/_base/html.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/_base/html.js
Normal file
File diff suppressed because one or more lines are too long
8
spring-js/src/main/resources/META-INF/dojo/_base/json.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/_base/json.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(_1){return eval("("+_1+")");};dojo._escapeString=function(_2){return ("\""+_2.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_4,_5){if(it===undefined){return "undefined";}var _6=typeof it;if(_6=="number"||_6=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _7=arguments.callee;var _8;_5=_5||"";var _9=_4?_5+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_8=tf.call(it);if(it!==_8){return _7(_8,_4,_9);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var _b=_4?" ":"";var _c=_4?"\n":"";if(dojo.isArray(it)){var _d=dojo.map(it,function(_e){var _f=_7(_e,_4,_9);if(typeof _f!="string"){_f="undefined";}return _c+_9+_f;});return "["+_d.join(","+_b)+_c+_5+"]";}if(_6=="function"){return null;}var _10=[],key;for(key in it){var _12,val;if(typeof key=="number"){_12="\""+key+"\"";}else{if(typeof key=="string"){_12=dojo._escapeString(key);}else{continue;}}val=_7(it[key],_4,_9);if(typeof val!="string"){continue;}_10.push(_c+_9+_12+":"+_b+val);}return "{"+_10.join(","+_b)+_c+_5+"}";};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/_base/lang.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/_base/lang.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=(function(){var _3=function(it){return it&&(typeof it=="function"||it instanceof Function);};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _3(it);}:_3;})();dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||dojo.isArray(it)||dojo.isFunction(it));};dojo.isArrayLike=function(it){var d=dojo;return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));};dojo.isAlien=function(it){return it&&!dojo.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_a,_b){for(var i=1,l=arguments.length;i<l;i++){dojo._mixin(_a.prototype,arguments[i]);}return _a;};dojo._hitchArgs=function(_e,_f){var pre=dojo._toArray(arguments,2);var _11=dojo.isString(_f);return function(){var _12=dojo._toArray(arguments);var f=_11?(_e||dojo.global)[_f]:_f;return f&&f.apply(_e||this,pre.concat(_12));};};dojo.hitch=function(_14,_15){if(arguments.length>2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_15){_15=_14;_14=null;}if(dojo.isString(_15)){_14=_14||dojo.global;if(!_14[_15]){throw (["dojo.hitch: scope[\"",_15,"\"] is null (scope=\"",_14,"\")"].join(""));}return function(){return _14[_15].apply(_14,arguments||[]);};}return !_14?_15:function(){return _15.apply(_14,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_17){TMP.prototype=obj;var tmp=new TMP();if(_17){dojo._mixin(tmp,_17);}return tmp;};})();(function(){var _19=function(obj,_1b,_1c){return (_1c||[]).concat(Array.prototype.slice.call(obj,_1b||0));};var _1d=function(obj,_1f,_20){var arr=_20||[];for(var x=_1f||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};dojo._toArray=(!dojo.isIE)?_19:function(obj){return ((obj.item)?_1d:_19).apply(this,arguments);};})();dojo.partial=function(_24){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo.clone=function(o){if(!o){return o;}if(dojo.isArray(o)){var r=[];for(var i=0;i<o.length;++i){r.push(dojo.clone(o[i]));}return r;}if(!dojo.isObject(o)){return o;}if(o.nodeType&&o.cloneNode){return o.cloneNode(true);}if(o instanceof Date){return new Date(o.getTime());}var r=new o.constructor();for(var i in o){if(!(i in r)||r[i]!=o[i]){r[i]=dojo.clone(o[i]);}}return r;};dojo.trim=function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_1,_2){dojo.global=_1;dojo.doc=_2;};dojo._fireCallback=function(_3,_4,_5){if(_4&&dojo.isString(_3)){_3=_4[_3];}return _3.apply(_4,_5||[]);};dojo.withGlobal=function(_6,_7,_8,_9){var _a;var _b=dojo.global;var _c=dojo.doc;try{dojo.setContext(_6,_6.document);_a=dojo._fireCallback(_7,_8,_9);}finally{dojo.setContext(_b,_c);}return _a;};dojo.withDoc=function(_d,_e,_f,_10){var _11;var _12=dojo.doc;try{dojo.doc=_d;_11=dojo._fireCallback(_e,_f,_10);}finally{dojo.doc=_12;}return _11;};}
|
||||
8
spring-js/src/main/resources/META-INF/dojo/_base/xhr.js
Normal file
8
spring-js/src/main/resources/META-INF/dojo/_base/xhr.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user