http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js b/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js deleted file mode 100644 index 05b1237..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/_base/query-sizzle.js +++ /dev/null @@ -1,628 +0,0 @@ -/* - Copyright (c) 2004-2009, 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.query"]){ -dojo._hasResource["dojo._base.query"]=true; -if(typeof dojo!="undefined"){ -dojo.provide("dojo._base.query"); -dojo.require("dojo._base.NodeList"); -dojo.query=function(_1,_2,_3){ -_3=_3||dojo.NodeList; -if(!_1){ -return new _3(); -} -if(_1.constructor==_3){ -return _1; -} -if(!dojo.isString(_1)){ -return new _3(_1); -} -if(dojo.isString(_2)){ -_2=dojo.byId(_2); -if(!_2){ -return new _3(); -} -} -return dojo.Sizzle(_1,_2,new _3()); -}; -dojo._filterQueryResult=function(_4,_5){ -return dojo.Sizzle.filter(_5,_4); -}; -} -(function(ns){ -var _7=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|[^[\]]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,_8=0,_9=Object.prototype.toString; -var _a=function(_b,_c,_d,_e){ -_d=_d||[]; -_c=_c||document; -if(_c.nodeType!==1&&_c.nodeType!==9){ -return []; -} -if(!_b||typeof _b!=="string"){ -return _d; -} -var _f=[],m,set,_12,_13,_14,_15,_16=true; -_7.lastIndex=0; -while((m=_7.exec(_b))!==null){ -_f.push(m[1]); -if(m[2]){ -_15=RegExp.rightContext; -break; -} -} -if(_f.length>1&&_17.match.POS.exec(_b)){ -if(_f.length===2&&_17.relative[_f[0]]){ -var _18="",_19; -while((_19=_17.match.POS.exec(_b))){ -_18+=_19[0]; -_b=_b.replace(_17.match.POS,""); -} -set=_a.filter(_18,_a(_b,_c)); -}else{ -set=_17.relative[_f[0]]?[_c]:_a(_f.shift(),_c); -while(_f.length){ -var _1a=[]; -_b=_f.shift(); -if(_17.relative[_b]){ -_b+=_f.shift(); -} -for(var i=0,l=set.length;i<l;i++){ -_a(_b,set[i],_1a); -} -set=_1a; -} -} -}else{ -var ret=_e?{expr:_f.pop(),set:_1e(_e)}:_a.find(_f.pop(),_f.length===1&&_c.parentNode?_c.parentNode:_c); -set=_a.filter(ret.expr,ret.set); -if(_f.length>0){ -_12=_1e(set); -}else{ -_16=false; -} -while(_f.length){ -var cur=_f.pop(),pop=cur; -if(!_17.relative[cur]){ -cur=""; -}else{ -pop=_f.pop(); -} -if(pop==null){ -pop=_c; -} -_17.relative[cur](_12,pop); -} -} -if(!_12){ -_12=set; -} -if(!_12){ -throw "Syntax error, unrecognized expression: "+(cur||_b); -} -if(_9.call(_12)==="[object Array]"){ -if(!_16){ -_d.push.apply(_d,_12); -}else{ -if(_c.nodeType===1){ -for(var i=0;_12[i]!=null;i++){ -if(_12[i]&&(_12[i]===true||_12[i].nodeType===1&&_21(_c,_12[i]))){ -_d.push(set[i]); -} -} -}else{ -for(var i=0;_12[i]!=null;i++){ -if(_12[i]&&_12[i].nodeType===1){ -_d.push(set[i]); -} -} -} -} -}else{ -_1e(_12,_d); -} -if(_15){ -_a(_15,_c,_d,_e); -} -return _d; -}; -_a.matches=function(_22,set){ -return _a(_22,null,null,set); -}; -_a.find=function(_24,_25){ -var set,_27; -if(!_24){ -return []; -} -for(var i=0,l=_17.order.length;i<l;i++){ -var _2a=_17.order[i],_27; -if((_27=_17.match[_2a].exec(_24))){ -var _2b=RegExp.leftContext; -if(_2b.substr(_2b.length-1)!=="\\"){ -_27[1]=(_27[1]||"").replace(/\\/g,""); -set=_17.find[_2a](_27,_25); -if(set!=null){ -_24=_24.replace(_17.match[_2a],""); -break; -} -} -} -} -if(!set){ -set=_25.getElementsByTagName("*"); -} -return {set:set,expr:_24}; -}; -_a.filter=function(_2c,set,_2e,not){ -var old=_2c,_31=[],_32=set,_33,_34; -while(_2c&&set.length){ -for(var _35 in _17.filter){ -if((_33=_17.match[_35].exec(_2c))!=null){ -var _36=_17.filter[_35],_37=null,_38=0,_39,_3a; -_34=false; -if(_32==_31){ -_31=[]; -} -if(_17.preFilter[_35]){ -_33=_17.preFilter[_35](_33,_32,_2e,_31,not); -if(!_33){ -_34=_39=true; -}else{ -if(_33[0]===true){ -_37=[]; -var _3b=null,_3c; -for(var i=0;(_3c=_32[i])!==undefined;i++){ -if(_3c&&_3b!==_3c){ -_37.push(_3c); -_3b=_3c; -} -} -} -} -} -if(_33){ -for(var i=0;(_3a=_32[i])!==undefined;i++){ -if(_3a){ -if(_37&&_3a!=_37[_38]){ -_38++; -} -_39=_36(_3a,_33,_38,_37); -var _3e=not^!!_39; -if(_2e&&_39!=null){ -if(_3e){ -_34=true; -}else{ -_32[i]=false; -} -}else{ -if(_3e){ -_31.push(_3a); -_34=true; -} -} -} -} -} -if(_39!==undefined){ -if(!_2e){ -_32=_31; -} -_2c=_2c.replace(_17.match[_35],""); -if(!_34){ -return []; -} -break; -} -} -} -_2c=_2c.replace(/\s*,\s*/,""); -if(_2c==old){ -if(_34==null){ -throw "Syntax error, unrecognized expression: "+_2c; -}else{ -break; -} -} -old=_2c; -} -return _32; -}; -var _17=_a.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u0128-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u0128-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u0128-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[((?:[\w\u0128-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\]/,TAG:/^((?:[\w\u0128-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child\(?(even|odd|[\dn+-]*)\)?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)\(?(\d*)\)?(?:[^-]|$)/,PSEUDO:/:((?:[\w\u0128-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},relative:{"+":function(_3f,_40){ -for(var i=0,l=_3f.length;i<l;i++){ -var _43=_3f[i]; -if(_43){ -var cur=_43.previousSibling; -while(cur&&cur.nodeType!==1){ -cur=cur.previousSibling; -} -_3f[i]=typeof _40==="string"?cur||false:cur===_40; -} -} -if(typeof _40==="string"){ -_a.filter(_40,_3f,true); -} -},">":function(_45,_46){ -if(typeof _46==="string"&&!/\W/.test(_46)){ -_46=_46.toUpperCase(); -for(var i=0,l=_45.length;i<l;i++){ -var _49=_45[i]; -if(_49){ -var _4a=_49.parentNode; -_45[i]=_4a.nodeName===_46?_4a:false; -} -} -}else{ -for(var i=0,l=_45.length;i<l;i++){ -var _49=_45[i]; -if(_49){ -_45[i]=typeof _46==="string"?_49.parentNode:_49.parentNode===_46; -} -} -if(typeof _46==="string"){ -_a.filter(_46,_45,true); -} -} -},"":function(_4b,_4c){ -var _4d="done"+(_8++),_4e=_4f; -if(!_4c.match(/\W/)){ -var _50=_4c=_4c.toUpperCase(); -_4e=_51; -} -_4e("parentNode",_4c,_4d,_4b,_50); -},"~":function(_52,_53){ -var _54="done"+(_8++),_55=_4f; -if(typeof _53==="string"&&!_53.match(/\W/)){ -var _56=_53=_53.toUpperCase(); -_55=_51; -} -_55("previousSibling",_53,_54,_52,_56); -}},find:{ID:function(_57,_58){ -if(_58.getElementById){ -var m=_58.getElementById(_57[1]); -return m?[m]:[]; -} -},NAME:function(_5a,_5b){ -return _5b.getElementsByName?_5b.getElementsByName(_5a[1]):null; -},TAG:function(_5c,_5d){ -return _5d.getElementsByTagName(_5c[1]); -}},preFilter:{CLASS:function(_5e,_5f,_60,_61,not){ -_5e=" "+_5e[1].replace(/\\/g,"")+" "; -for(var i=0;_5f[i];i++){ -if(not^(" "+_5f[i].className+" ").indexOf(_5e)>=0){ -if(!_60){ -_61.push(_5f[i]); -} -}else{ -if(_60){ -_5f[i]=false; -} -} -} -return false; -},ID:function(_64){ -return _64[1]; -},TAG:function(_65){ -return _65[1].toUpperCase(); -},CHILD:function(_66){ -if(_66[1]=="nth"){ -var _67=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(_66[2]=="even"&&"2n"||_66[2]=="odd"&&"2n+1"||!/\D/.test(_66[2])&&"0n+"+_66[2]||_66[2]); -_66[2]=(_67[1]+(_67[2]||1))-0; -_66[3]=_67[3]-0; -} -_66[0]="done"+(_8++); -return _66; -},ATTR:function(_68){ -var _69=_68[1]; -if(_17.attrMap[_69]){ -_68[1]=_17.attrMap[_69]; -} -if(_68[2]==="~="){ -_68[4]=" "+_68[4]+" "; -} -return _68; -},PSEUDO:function(_6a,_6b,_6c,_6d,not){ -if(_6a[1]==="not"){ -if(_6a[3].match(_7).length>1){ -_6a[3]=_a(_6a[3],null,null,_6b); -}else{ -var ret=_a.filter(_6a[3],_6b,_6c,true^not); -if(!_6c){ -_6d.push.apply(_6d,ret); -} -return false; -} -} -return _6a; -},POS:function(_70){ -_70.unshift(true); -return _70; -}},filters:{enabled:function(_71){ -return _71.disabled===false&&_71.type!=="hidden"; -},disabled:function(_72){ -return _72.disabled===true; -},checked:function(_73){ -return _73.checked===true; -},selected:function(_74){ -_74.parentNode.selectedIndex; -return _74.selected===true; -},parent:function(_75){ -return !!_75.firstChild; -},empty:function(_76){ -return !_76.firstChild; -},has:function(_77,i,_79){ -return !!_a(_79[3],_77).length; -},header:function(_7a){ -return /h\d/i.test(_7a.nodeName); -},text:function(_7b){ -return "text"===_7b.type; -},radio:function(_7c){ -return "radio"===_7c.type; -},checkbox:function(_7d){ -return "checkbox"===_7d.type; -},file:function(_7e){ -return "file"===_7e.type; -},password:function(_7f){ -return "password"===_7f.type; -},submit:function(_80){ -return "submit"===_80.type; -},image:function(_81){ -return "image"===_81.type; -},reset:function(_82){ -return "reset"===_82.type; -},button:function(_83){ -return "button"===_83.type||_83.nodeName.toUpperCase()==="BUTTON"; -},input:function(_84){ -return /input|select|textarea|button/i.test(_84.nodeName); -}},setFilters:{first:function(_85,i){ -return i===0; -},last:function(_87,i,_89,_8a){ -return i===_8a.length-1; -},even:function(_8b,i){ -return i%2===0; -},odd:function(_8d,i){ -return i%2===1; -},lt:function(_8f,i,_91){ -return i<_91[3]-0; -},gt:function(_92,i,_94){ -return i>_94[3]-0; -},nth:function(_95,i,_97){ -return _97[3]-0==i; -},eq:function(_98,i,_9a){ -return _9a[3]-0==i; -}},filter:{CHILD:function(_9b,_9c){ -var _9d=_9c[1],_9e=_9b.parentNode; -var _9f=_9c[0]; -if(_9e&&!_9e[_9f]){ -var _a0=1; -for(var _a1=_9e.firstChild;_a1;_a1=_a1.nextSibling){ -if(_a1.nodeType==1){ -_a1.nodeIndex=_a0++; -} -} -_9e[_9f]=_a0-1; -} -if(_9d=="first"){ -return _9b.nodeIndex==1; -}else{ -if(_9d=="last"){ -return _9b.nodeIndex==_9e[_9f]; -}else{ -if(_9d=="only"){ -return _9e[_9f]==1; -}else{ -if(_9d=="nth"){ -var add=false,_a3=_9c[2],_a4=_9c[3]; -if(_a3==1&&_a4==0){ -return true; -} -if(_a3==0){ -if(_9b.nodeIndex==_a4){ -add=true; -} -}else{ -if((_9b.nodeIndex-_a4)%_a3==0&&(_9b.nodeIndex-_a4)/_a3>=0){ -add=true; -} -} -return add; -} -} -} -} -},PSEUDO:function(_a5,_a6,i,_a8){ -var _a9=_a6[1],_aa=_17.filters[_a9]; -if(_aa){ -return _aa(_a5,i,_a6,_a8); -}else{ -if(_a9==="contains"){ -return (_a5.textContent||_a5.innerText||"").indexOf(_a6[3])>=0; -}else{ -if(_a9==="not"){ -var not=_a6[3]; -for(var i=0,l=not.length;i<l;i++){ -if(not[i]===_a5){ -return false; -} -} -return true; -} -} -} -},ID:function(_ad,_ae){ -return _ad.nodeType===1&&_ad.getAttribute("id")===_ae; -},TAG:function(_af,_b0){ -return (_b0==="*"&&_af.nodeType===1)||_af.nodeName===_b0; -},CLASS:function(_b1,_b2){ -return _b2.test(_b1.className); -},ATTR:function(_b3,_b4){ -var _b5=_b3[_b4[1]]||_b3.getAttribute(_b4[1]),_b6=_b5+"",_b7=_b4[2],_b8=_b4[4]; -return _b5==null?false:_b7==="="?_b6===_b8:_b7==="*="?_b6.indexOf(_b8)>=0:_b7==="~="?(" "+_b6+" ").indexOf(_b8)>=0:!_b4[4]?_b5:_b7==="!="?_b6!=_b8:_b7==="^="?_b6.indexOf(_b8)===0:_b7==="$="?_b6.substr(_b6.length-_b8.length)===_b8:_b7==="|="?_b6===_b8||_b6.substr(0,_b8.length+1)===_b8+"-":false; -},POS:function(_b9,_ba,i,_bc){ -var _bd=_ba[2],_be=_17.setFilters[_bd]; -if(_be){ -return _be(_b9,i,_ba,_bc); -} -}}}; -for(var _bf in _17.match){ -_17.match[_bf]=RegExp(_17.match[_bf].source+/(?![^\[]*\])(?![^\(]*\))/.source); -} -var _1e=function(_c0,_c1){ -_c0=Array.prototype.slice.call(_c0); -if(_c1){ -_c1.push.apply(_c1,_c0); -return _c1; -} -return _c0; -}; -try{ -Array.prototype.slice.call(document.documentElement.childNodes); -} -catch(e){ -_1e=function(_c2,_c3){ -var ret=_c3||[]; -if(_9.call(_c2)==="[object Array]"){ -Array.prototype.push.apply(ret,_c2); -}else{ -if(typeof _c2.length==="number"){ -for(var i=0,l=_c2.length;i<l;i++){ -ret.push(_c2[i]); -} -}else{ -for(var i=0;_c2[i];i++){ -ret.push(_c2[i]); -} -} -} -return ret; -}; -} -(function(){ -var _c7=document.createElement("form"),id="script"+(new Date).getTime(); -_c7.innerHTML="<input name='"+id+"'/>"; -var _c9=document.documentElement; -_c9.insertBefore(_c7,_c9.firstChild); -if(!!document.getElementById(id)){ -_17.find.ID=function(_ca,_cb){ -if(_cb.getElementById){ -var m=_cb.getElementById(_ca[1]); -return m?m.id===_ca[1]||m.getAttributeNode&&m.getAttributeNode("id").nodeValue===_ca[1]?[m]:undefined:[]; -} -}; -_17.filter.ID=function(_cd,_ce){ -var _cf=_cd.getAttributeNode&&_cd.getAttributeNode("id"); -return _cd.nodeType===1&&_cf&&_cf.nodeValue===_ce; -}; -} -_c9.removeChild(_c7); -})(); -(function(){ -var div=document.createElement("div"); -div.appendChild(document.createComment("")); -if(div.getElementsByTagName("*").length>0){ -_17.find.TAG=function(_d1,_d2){ -var _d3=_d2.getElementsByTagName(_d1[1]); -if(_d1[1]==="*"){ -var tmp=[]; -for(var i=0;_d3[i];i++){ -if(_d3[i].nodeType===1){ -tmp.push(_d3[i]); -} -} -_d3=tmp; -} -return _d3; -}; -} -})(); -if(document.querySelectorAll){ -(function(){ -var _d6=_a; -_a=function(_d7,_d8,_d9,_da){ -_d8=_d8||document; -if(!_da&&_d8.nodeType===9){ -try{ -return _1e(_d8.querySelectorAll(_d7),_d9); -} -catch(e){ -} -} -return _d6(_d7,_d8,_d9,_da); -}; -_a.find=_d6.find; -_a.filter=_d6.filter; -_a.selectors=_d6.selectors; -_a.matches=_d6.matches; -})(); -} -if(document.documentElement.getElementsByClassName){ -_17.order.splice(1,0,"CLASS"); -_17.find.CLASS=function(_db,_dc){ -return _dc.getElementsByClassName(_db[1]); -}; -} -function _51(dir,cur,_df,_e0,_e1){ -for(var i=0,l=_e0.length;i<l;i++){ -var _e4=_e0[i]; -if(_e4){ -_e4=_e4[dir]; -var _e5=false; -while(_e4&&_e4.nodeType){ -var _e6=_e4[_df]; -if(_e6){ -_e5=_e0[_e6]; -break; -} -if(_e4.nodeType===1){ -_e4[_df]=i; -} -if(_e4.nodeName===cur){ -_e5=_e4; -break; -} -_e4=_e4[dir]; -} -_e0[i]=_e5; -} -} -}; -function _4f(dir,cur,_e9,_ea,_eb){ -for(var i=0,l=_ea.length;i<l;i++){ -var _ee=_ea[i]; -if(_ee){ -_ee=_ee[dir]; -var _ef=false; -while(_ee&&_ee.nodeType){ -if(_ee[_e9]){ -_ef=_ea[_ee[_e9]]; -break; -} -if(_ee.nodeType===1){ -_ee[_e9]=i; -if(typeof cur!=="string"){ -if(_ee===cur){ -_ef=true; -break; -} -}else{ -if(_a.filter(cur,[_ee]).length>0){ -_ef=_ee; -break; -} -} -} -_ee=_ee[dir]; -} -_ea[i]=_ef; -} -} -}; -var _21=document.compareDocumentPosition?function(a,b){ -return a.compareDocumentPosition(b)&16; -}:function(a,b){ -return a!==b&&(a.contains?a.contains(b):true); -}; -(ns||window).Sizzle=_a; -})(typeof dojo=="undefined"?null:dojo); -}
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_base/query.js ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_base/query.js b/components/camel-web/src/main/webapp/js/dojo/_base/query.js deleted file mode 100644 index 03ffca2..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/_base/query.js +++ /dev/null @@ -1,764 +0,0 @@ -/* - Copyright (c) 2004-2009, 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.query"]){ -dojo._hasResource["dojo._base.query"]=true; -if(typeof dojo!="undefined"){ -dojo.provide("dojo._base.query"); -dojo.require("dojo._base.NodeList"); -dojo.require("dojo._base.lang"); -} -(function(d){ -var _2=d.trim; -var _3=d.forEach; -d._queryListCtor=d.NodeList; -var _4=d.isString; -var _5=function(){ -return d.doc; -}; -var _6=!!_5().firstChild["children"]?"children":"childNodes"; -var _7=">~+"; -var _8=false; -var _9=function(){ -return true; -}; -var _a=function(_b){ -if(_7.indexOf(_b.slice(-1))>=0){ -_b+=" * "; -}else{ -_b+=" "; -} -var ts=function(s,e){ -return _2(_b.slice(s,e)); -}; -var _f=[]; -var _10=-1,_11=-1,_12=-1,_13=-1,_14=-1,_15=-1,_16=-1,lc="",cc="",_19; -var x=0,ql=_b.length,_1c=null,_cp=null; -var _1e=function(){ -if(_16>=0){ -var tv=(_16==x)?null:ts(_16,x); -_1c[(_7.indexOf(tv)<0)?"tag":"oper"]=tv; -_16=-1; -} -}; -var _20=function(){ -if(_15>=0){ -_1c.id=ts(_15,x).replace(/\\/g,""); -_15=-1; -} -}; -var _21=function(){ -if(_14>=0){ -_1c.classes.push(ts(_14+1,x).replace(/\\/g,"")); -_14=-1; -} -}; -var _22=function(){ -_20(); -_1e(); -_21(); -}; -var _23=function(){ -_22(); -if(_13>=0){ -_1c.pseudos.push({name:ts(_13+1,x)}); -} -_1c.loops=(_1c.pseudos.length||_1c.attrs.length||_1c.classes.length); -_1c.oquery=_1c.query=ts(_19,x); -_1c.otag=_1c.tag=(_1c["oper"])?null:(_1c.tag||"*"); -if(_1c.tag){ -_1c.tag=_1c.tag.toUpperCase(); -} -if(_f.length&&(_f[_f.length-1].oper)){ -_1c.infixOper=_f.pop(); -_1c.query=_1c.infixOper.query+" "+_1c.query; -} -_f.push(_1c); -_1c=null; -}; -for(;lc=cc,cc=_b.charAt(x),x<ql;x++){ -if(lc=="\\"){ -continue; -} -if(!_1c){ -_19=x; -_1c={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){ -return (_8)?this.otag:this.tag; -}}; -_16=x; -} -if(_10>=0){ -if(cc=="]"){ -if(!_cp.attr){ -_cp.attr=ts(_10+1,x); -}else{ -_cp.matchFor=ts((_12||_10+1),x); -} -var cmf=_cp.matchFor; -if(cmf){ -if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){ -_cp.matchFor=cmf.slice(1,-1); -} -} -_1c.attrs.push(_cp); -_cp=null; -_10=_12=-1; -}else{ -if(cc=="="){ -var _25=("|~^$*".indexOf(lc)>=0)?lc:""; -_cp.type=_25+cc; -_cp.attr=ts(_10+1,x-_25.length); -_12=x+1; -} -} -}else{ -if(_11>=0){ -if(cc==")"){ -if(_13>=0){ -_cp.value=ts(_11+1,x); -} -_13=_11=-1; -} -}else{ -if(cc=="#"){ -_22(); -_15=x+1; -}else{ -if(cc=="."){ -_22(); -_14=x; -}else{ -if(cc==":"){ -_22(); -_13=x; -}else{ -if(cc=="["){ -_22(); -_10=x; -_cp={}; -}else{ -if(cc=="("){ -if(_13>=0){ -_cp={name:ts(_13+1,x),value:null}; -_1c.pseudos.push(_cp); -} -_11=x; -}else{ -if((cc==" ")&&(lc!=cc)){ -_23(); -} -} -} -} -} -} -} -} -} -return _f; -}; -var _26=function(_27,_28){ -if(!_27){ -return _28; -} -if(!_28){ -return _27; -} -return function(){ -return _27.apply(window,arguments)&&_28.apply(window,arguments); -}; -}; -var _29=function(i,arr){ -var r=arr||[]; -if(i){ -r.push(i); -} -return r; -}; -var _2d=function(n){ -return (1==n.nodeType); -}; -var _2f=""; -var _30=function(_31,_32){ -if(!_31){ -return _2f; -} -if(_32=="class"){ -return _31.className||_2f; -} -if(_32=="for"){ -return _31.htmlFor||_2f; -} -if(_32=="style"){ -return _31.style.cssText||_2f; -} -return (_8?_31.getAttribute(_32):_31.getAttribute(_32,2))||_2f; -}; -var _33={"*=":function(_34,_35){ -return function(_36){ -return (_30(_36,_34).indexOf(_35)>=0); -}; -},"^=":function(_37,_38){ -return function(_39){ -return (_30(_39,_37).indexOf(_38)==0); -}; -},"$=":function(_3a,_3b){ -var _3c=" "+_3b; -return function(_3d){ -var ea=" "+_30(_3d,_3a); -return (ea.lastIndexOf(_3b)==(ea.length-_3b.length)); -}; -},"~=":function(_3f,_40){ -var _41=" "+_40+" "; -return function(_42){ -var ea=" "+_30(_42,_3f)+" "; -return (ea.indexOf(_41)>=0); -}; -},"|=":function(_44,_45){ -var _46=" "+_45+"-"; -return function(_47){ -var ea=" "+_30(_47,_44); -return ((ea==_45)||(ea.indexOf(_46)==0)); -}; -},"=":function(_49,_4a){ -return function(_4b){ -return (_30(_4b,_49)==_4a); -}; -}}; -var _4c=(typeof _5().firstChild.nextElementSibling=="undefined"); -var _ns=!_4c?"nextElementSibling":"nextSibling"; -var _ps=!_4c?"previousElementSibling":"previousSibling"; -var _4f=(_4c?_2d:_9); -var _50=function(_51){ -while(_51=_51[_ps]){ -if(_4f(_51)){ -return false; -} -} -return true; -}; -var _52=function(_53){ -while(_53=_53[_ns]){ -if(_4f(_53)){ -return false; -} -} -return true; -}; -var _54=function(_55){ -var _56=_55.parentNode; -var te,x=0,i=0,_5a=_56[_6],ret=-1,ci=parseInt(_55["_cidx"]||-1),cl=parseInt(_56["_clen"]||-1); -if(!_5a){ -return -1; -} -if(ci>=0&&cl>=0&&cl==_5a.length){ -return ci; -} -_56["_clen"]=_5a.length; -while(te=_5a[x++]){ -if(_4f(te)){ -i++; -if(_55===te){ -ret=i; -} -te["_cix"]=i; -} -} -return ret; -}; -var _5e={"checked":function(_5f,_60){ -return function(_61){ -return !!d.attr(_61,"checked"); -}; -},"first-child":function(){ -return _50; -},"last-child":function(){ -return _52; -},"only-child":function(_62,_63){ -return function(_64){ -if(!_50(_64)){ -return false; -} -if(!_52(_64)){ -return false; -} -return true; -}; -},"empty":function(_65,_66){ -return function(_67){ -var cn=_67.childNodes; -var cnl=_67.childNodes.length; -for(var x=cnl-1;x>=0;x--){ -var nt=cn[x].nodeType; -if((nt===1)||(nt==3)){ -return false; -} -} -return true; -}; -},"contains":function(_6c,_6d){ -var cz=_6d.charAt(0); -if(cz=="\""||cz=="'"){ -_6d=_6d.slice(1,-1); -} -return function(_6f){ -return (_6f.innerHTML.indexOf(_6d)>=0); -}; -},"not":function(_70,_71){ -var ntf=_73(_a(_71)[0]); -return function(_74){ -return (!ntf(_74)); -}; -},"nth-child":function(_75,_76){ -var pi=parseInt; -if(_76=="odd"){ -_76="2n+1"; -}else{ -if(_76=="even"){ -_76="2n"; -} -} -if(_76.indexOf("n")!=-1){ -var _78=_76.split("n",2); -var _79=_78[0]?((_78[0]=="-")?-1:pi(_78[0])):1; -var idx=_78[1]?pi(_78[1]):0; -var lb=0,ub=-1; -if(_79>0){ -if(idx<0){ -idx=(idx%_79)&&(_79+(idx%_79)); -}else{ -if(idx>0){ -if(idx>=_79){ -lb=idx-idx%_79; -} -idx=idx%_79; -} -} -}else{ -if(_79<0){ -_79*=-1; -if(idx>0){ -ub=idx; -idx=idx%_79; -} -} -} -if(_79>0){ -return function(_7d){ -var i=_54(_7d); -return (i>=lb)&&(ub<0||i<=ub)&&((i%_79)==idx); -}; -}else{ -_76=idx; -} -} -var _7f=pi(_76); -return function(_80){ -return (_54(_80)==_7f); -}; -}}; -var _81=(d.isIE)?function(_82){ -var clc=_82.toLowerCase(); -if(clc=="class"){ -_82="className"; -} -return function(_84){ -return (_8?_84.getAttribute(_82):_84[_82]||_84[clc]); -}; -}:function(_85){ -return function(_86){ -return (_86&&_86.getAttribute&&_86.hasAttribute(_85)); -}; -}; -var _73=function(_87,_88){ -if(!_87){ -return _9; -} -_88=_88||{}; -var ff=null; -if(!("el" in _88)){ -ff=_26(ff,_2d); -} -if(!("tag" in _88)){ -if(_87.tag!="*"){ -ff=_26(ff,function(_8a){ -return (_8a&&(_8a.tagName==_87.getTag())); -}); -} -} -if(!("classes" in _88)){ -_3(_87.classes,function(_8b,idx,arr){ -var re=new RegExp("(?:^|\\s)"+_8b+"(?:\\s|$)"); -ff=_26(ff,function(_8f){ -return re.test(_8f.className); -}); -ff.count=idx; -}); -} -if(!("pseudos" in _88)){ -_3(_87.pseudos,function(_90){ -var pn=_90.name; -if(_5e[pn]){ -ff=_26(ff,_5e[pn](pn,_90.value)); -} -}); -} -if(!("attrs" in _88)){ -_3(_87.attrs,function(_92){ -var _93; -var a=_92.attr; -if(_92.type&&_33[_92.type]){ -_93=_33[_92.type](a,_92.matchFor); -}else{ -if(a.length){ -_93=_81(a); -} -} -if(_93){ -ff=_26(ff,_93); -} -}); -} -if(!("id" in _88)){ -if(_87.id){ -ff=_26(ff,function(_95){ -return (!!_95&&(_95.id==_87.id)); -}); -} -} -if(!ff){ -if(!("default" in _88)){ -ff=_9; -} -} -return ff; -}; -var _96=function(_97){ -return function(_98,ret,bag){ -while(_98=_98[_ns]){ -if(_4c&&(!_2d(_98))){ -continue; -} -if((!bag||_9b(_98,bag))&&_97(_98)){ -ret.push(_98); -} -break; -} -return ret; -}; -}; -var _9c=function(_9d){ -return function(_9e,ret,bag){ -var te=_9e[_ns]; -while(te){ -if(_4f(te)){ -if(bag&&!_9b(te,bag)){ -break; -} -if(_9d(te)){ -ret.push(te); -} -} -te=te[_ns]; -} -return ret; -}; -}; -var _a2=function(_a3){ -_a3=_a3||_9; -return function(_a4,ret,bag){ -var te,x=0,_a9=_a4[_6]; -while(te=_a9[x++]){ -if(_4f(te)&&(!bag||_9b(te,bag))&&(_a3(te,x))){ -ret.push(te); -} -} -return ret; -}; -}; -var _aa=function(_ab,_ac){ -var pn=_ab.parentNode; -while(pn){ -if(pn==_ac){ -break; -} -pn=pn.parentNode; -} -return !!pn; -}; -var _ae={}; -var _af=function(_b0){ -var _b1=_ae[_b0.query]; -if(_b1){ -return _b1; -} -var io=_b0.infixOper; -var _b3=(io?io.oper:""); -var _b4=_73(_b0,{el:1}); -var qt=_b0.tag; -var _b6=("*"==qt); -if(!_b3){ -if(_b0.id){ -filerFunc=(!_b0.loops&&!qt)?_9:_73(_b0,{el:1,id:1}); -_b1=function(_b7,arr){ -var te=d.byId(_b0.id,(_b7.ownerDocument||_b7)); -if(!_b4(te)){ -return; -} -if(9==_b7.nodeType){ -return _29(te,arr); -}else{ -if(_aa(te,_b7)){ -return _29(te,arr); -} -} -}; -}else{ -if(_5()["getElementsByClassName"]&&_b0.classes.length){ -_b4=_73(_b0,{el:1,classes:1,id:1}); -var _ba=_b0.classes.join(" "); -_b1=function(_bb,arr){ -var ret=_29(0,arr),te,x=0; -var _c0=_bb.getElementsByClassName(_ba); -while((te=_c0[x++])){ -if(_b4(te,_bb)){ -ret.push(te); -} -} -return ret; -}; -}else{ -_b4=_73(_b0,{el:1,tag:1,id:1}); -_b1=function(_c1,arr){ -var ret=_29(0,arr),te,x=0; -var _c6=_c1.getElementsByTagName(_b0.getTag()); -while((te=_c6[x++])){ -if(_b4(te,_c1)){ -ret.push(te); -} -} -return ret; -}; -} -} -}else{ -var _c7={el:1}; -if(_b6){ -_c7.tag=1; -} -_b4=_73(_b0,_c7); -if("+"==_b3){ -_b1=_96(_b4); -}else{ -if("~"==_b3){ -_b1=_9c(_b4); -}else{ -if(">"==_b3){ -_b1=_a2(_b4); -} -} -} -} -return _ae[_b0.query]=_b1; -}; -var _c8=function(_c9,_ca){ -var _cb=_29(_c9),qp,x,te,qpl=_ca.length,bag,ret; -for(var i=0;i<qpl;i++){ -ret=[]; -qp=_ca[i]; -x=_cb.length-1; -if(x>0){ -bag={}; -ret.nozip=true; -} -var gef=_af(qp); -while(te=_cb[x--]){ -gef(te,ret,bag); -} -if(!ret.length){ -break; -} -_cb=ret; -} -return ret; -}; -var _d4={},_d5={}; -var _d6=function(_d7){ -var _d8=_a(_2(_d7)); -if(_d8.length==1){ -var tef=_af(_d8[0]); -return function(_da){ -var r=tef(_da,new d._queryListCtor()); -if(r){ -r.nozip=true; -} -return r; -}; -} -return function(_dc){ -return _c8(_dc,_d8); -}; -}; -var nua=navigator.userAgent; -var wk="WebKit/"; -var _df=(d.isWebKit&&(nua.indexOf(wk)>0)&&(parseFloat(nua.split(wk)[1])>528)); -var _e0=d.isIE?"commentStrip":"nozip"; -var qsa="querySelectorAll"; -var _e2=(!!_5()[qsa]&&(!d.isSafari||(d.isSafari>3.1)||_df)); -var _e3=function(_e4,_e5){ -if(_e2){ -var _e6=_d5[_e4]; -if(_e6&&!_e5){ -return _e6; -} -} -var _e7=_d4[_e4]; -if(_e7){ -return _e7; -} -var qcz=_e4.charAt(0); -var _e9=(-1==_e4.indexOf(" ")); -if((qcz=="#")&&(_e9)&&(!/[.:\[\(]/.test(_e4))){ -_e5=true; -} -var _ea=(_e2&&(!_e5)&&(_7.indexOf(qcz)==-1)&&(!d.isIE||(_e4.indexOf(":")==-1))&&(_e4.indexOf(":contains")==-1)&&(_e4.indexOf("|=")==-1)&&true); -if(_ea){ -var tq=(_7.indexOf(_e4.charAt(_e4.length-1))>=0)?(_e4+" *"):_e4; -return _d5[_e4]=function(_ec){ -try{ -if(!((9==_ec.nodeType)||_e9)){ -throw ""; -} -var r=_ec[qsa](tq); -r[_e0]=true; -return r; -} -catch(e){ -return _e3(_e4,true)(_ec); -} -}; -}else{ -var _ee=_e4.split(/\s*,\s*/); -return _d4[_e4]=((_ee.length<2)?_d6(_e4):function(_ef){ -var _f0=0; -var ret=[]; -var tp; -while((tp=_ee[_f0++])){ -ret=ret.concat(_d6(tp)(_ef)); -} -return ret; -}); -} -}; -var _f3=0; -var _f4=d.isIE?function(_f5){ -if(_8){ -return (_f5.getAttribute("_uid")||_f5.setAttribute("_uid",++_f3)||_f3); -}else{ -return _f5.uniqueID; -} -}:function(_f6){ -return (_f6._uid||(_f6._uid=++_f3)); -}; -var _9b=function(_f7,bag){ -if(!bag){ -return 1; -} -var id=_f4(_f7); -if(!bag[id]){ -return bag[id]=1; -} -return 0; -}; -var _fa="_zipIdx"; -var _fb=function(arr){ -if(arr&&arr.nozip){ -return (d._queryListCtor._wrap)?d._queryListCtor._wrap(arr):arr; -} -var ret=new d._queryListCtor(); -if(!arr||!arr.length){ -return ret; -} -if(arr[0]){ -ret.push(arr[0]); -} -if(arr.length<2){ -return ret; -} -_f3++; -if(d.isIE&&_8){ -var _fe=_f3+""; -arr[0].setAttribute(_fa,_fe); -for(var x=1,te;te=arr[x];x++){ -if(arr[x].getAttribute(_fa)!=_fe){ -ret.push(te); -} -te.setAttribute(_fa,_fe); -} -}else{ -if(d.isIE&&arr.commentStrip){ -try{ -for(var x=1,te;te=arr[x];x++){ -if(_2d(te)){ -ret.push(te); -} -} -} -catch(e){ -} -}else{ -if(arr[0]){ -arr[0][_fa]=_f3; -} -for(var x=1,te;te=arr[x];x++){ -if(arr[x][_fa]!=_f3){ -ret.push(te); -} -te[_fa]=_f3; -} -} -} -return ret; -}; -d.query=function(_101,root){ -if(!_101){ -return new d._queryListCtor(); -} -if(_101.constructor==d._queryListCtor){ -return _101; -} -if(!_4(_101)){ -return new d._queryListCtor(_101); -} -if(_4(root)){ -root=d.byId(root); -if(!root){ -return new d._queryListCtor(); -} -} -root=root||_5(); -var od=root.ownerDocument||root.documentElement; -_8=(root.contentType&&root.contentType=="application/xml")||(d.isOpera&&root.doctype)||(!!od)&&(d.isIE?od.xml:(root.xmlVersion||od.xmlVersion)); -var r=_e3(_101)(root); -if(r&&r.nozip&&!d._queryListCtor._wrap){ -return r; -} -return _fb(r); -}; -d.query.pseudos=_5e; -d._filterQueryResult=function(_105,_106){ -var _107=new d._queryListCtor(); -var _108=_73(_a(_106)[0]); -for(var x=0,te;te=_105[x];x++){ -if(_108(te)){ -_107.push(te); -} -} -return _107; -}; -})(this["queryPortability"]||this["acme"]||dojo); -} http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_base/window.js ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_base/window.js b/components/camel-web/src/main/webapp/js/dojo/_base/window.js deleted file mode 100644 index a27d958..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/_base/window.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - Copyright (c) 2004-2009, 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.withGlobal=function(_3,_4,_5,_6){ -var _7=dojo.global; -try{ -dojo.global=_3; -return dojo.withDoc.call(null,_3.document,_4,_5,_6); -} -finally{ -dojo.global=_7; -} -}; -dojo.withDoc=function(_8,_9,_a,_b){ -var _c=dojo.doc,_d=dojo._bodyLtr; -try{ -dojo.doc=_8; -delete dojo._bodyLtr; -if(_a&&dojo.isString(_9)){ -_9=_a[_9]; -} -return _9.apply(_a,_b||[]); -} -finally{ -dojo.doc=_c; -if(_d!==undefined){ -dojo._bodyLtr=_d; -} -} -}; -} http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_base/xhr.js ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_base/xhr.js b/components/camel-web/src/main/webapp/js/dojo/_base/xhr.js deleted file mode 100644 index 8f739a7..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/_base/xhr.js +++ /dev/null @@ -1,377 +0,0 @@ -/* - Copyright (c) 2004-2009, 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.xhr"]){ -dojo._hasResource["dojo._base.xhr"]=true; -dojo.provide("dojo._base.xhr"); -dojo.require("dojo._base.Deferred"); -dojo.require("dojo._base.json"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.query"); -(function(){ -var _d=dojo; -function _2(_3,_4,_5){ -var _6=_3[_4]; -if(_d.isString(_6)){ -_3[_4]=[_6,_5]; -}else{ -if(_d.isArray(_6)){ -_6.push(_5); -}else{ -_3[_4]=_5; -} -} -}; -dojo.formToObject=function(_7){ -var _8={}; -var _9="file|submit|image|reset|button|"; -_d.forEach(dojo.byId(_7).elements,function(_a){ -var _b=_a.name; -var _c=(_a.type||"").toLowerCase(); -if(_b&&_c&&_9.indexOf(_c)==-1&&!_a.disabled){ -if(_c=="radio"||_c=="checkbox"){ -if(_a.checked){ -_2(_8,_b,_a.value); -} -}else{ -if(_a.multiple){ -_8[_b]=[]; -_d.query("option",_a).forEach(function(_d){ -if(_d.selected){ -_2(_8,_b,_d.value); -} -}); -}else{ -_2(_8,_b,_a.value); -if(_c=="image"){ -_8[_b+".x"]=_8[_b+".y"]=_8[_b].x=_8[_b].y=0; -} -} -} -} -}); -return _8; -}; -dojo.objectToQuery=function(_e){ -var _f=encodeURIComponent; -var _10=[]; -var _11={}; -for(var _12 in _e){ -var _13=_e[_12]; -if(_13!=_11[_12]){ -var _14=_f(_12)+"="; -if(_d.isArray(_13)){ -for(var i=0;i<_13.length;i++){ -_10.push(_14+_f(_13[i])); -} -}else{ -_10.push(_14+_f(_13)); -} -} -} -return _10.join("&"); -}; -dojo.formToQuery=function(_16){ -return _d.objectToQuery(_d.formToObject(_16)); -}; -dojo.formToJson=function(_17,_18){ -return _d.toJson(_d.formToObject(_17),_18); -}; -dojo.queryToObject=function(str){ -var ret={}; -var qp=str.split("&"); -var dec=decodeURIComponent; -_d.forEach(qp,function(_1d){ -if(_1d.length){ -var _1e=_1d.split("="); -var _1f=dec(_1e.shift()); -var val=dec(_1e.join("=")); -if(_d.isString(ret[_1f])){ -ret[_1f]=[ret[_1f]]; -} -if(_d.isArray(ret[_1f])){ -ret[_1f].push(val); -}else{ -ret[_1f]=val; -} -} -}); -return ret; -}; -dojo._blockAsync=false; -dojo._contentHandlers={text:function(xhr){ -return xhr.responseText; -},json:function(xhr){ -return _d.fromJson(xhr.responseText||null); -},"json-comment-filtered":function(xhr){ -if(!dojo.config.useCommentedJson){ -console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message."); -} -var _24=xhr.responseText; -var _25=_24.indexOf("/*"); -var _26=_24.lastIndexOf("*/"); -if(_25==-1||_26==-1){ -throw new Error("JSON was not comment filtered"); -} -return _d.fromJson(_24.substring(_25+2,_26)); -},javascript:function(xhr){ -return _d.eval(xhr.responseText); -},xml:function(xhr){ -var _29=xhr.responseXML; -if(_d.isIE&&(!_29||!_29.documentElement)){ -var ms=function(n){ -return "MSXML"+n+".DOMDocument"; -}; -var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)]; -_d.some(dp,function(p){ -try{ -var dom=new ActiveXObject(p); -dom.async=false; -dom.loadXML(xhr.responseText); -_29=dom; -} -catch(e){ -return false; -} -return true; -}); -} -return _29; -}}; -dojo._contentHandlers["json-comment-optional"]=function(xhr){ -var _30=_d._contentHandlers; -if(xhr.responseText&&xhr.responseText.indexOf("/*")!=-1){ -return _30["json-comment-filtered"](xhr); -}else{ -return _30["json"](xhr); -} -}; -dojo._ioSetArgs=function(_31,_32,_33,_34){ -var _35={args:_31,url:_31.url}; -var _36=null; -if(_31.form){ -var _37=_d.byId(_31.form); -var _38=_37.getAttributeNode("action"); -_35.url=_35.url||(_38?_38.value:null); -_36=_d.formToObject(_37); -} -var _39=[{}]; -if(_36){ -_39.push(_36); -} -if(_31.content){ -_39.push(_31.content); -} -if(_31.preventCache){ -_39.push({"dojo.preventCache":new Date().valueOf()}); -} -_35.query=_d.objectToQuery(_d.mixin.apply(null,_39)); -_35.handleAs=_31.handleAs||"text"; -var d=new _d.Deferred(_32); -d.addCallbacks(_33,function(_3b){ -return _34(_3b,d); -}); -var ld=_31.load; -if(ld&&_d.isFunction(ld)){ -d.addCallback(function(_3d){ -return ld.call(_31,_3d,_35); -}); -} -var err=_31.error; -if(err&&_d.isFunction(err)){ -d.addErrback(function(_3f){ -return err.call(_31,_3f,_35); -}); -} -var _40=_31.handle; -if(_40&&_d.isFunction(_40)){ -d.addBoth(function(_41){ -return _40.call(_31,_41,_35); -}); -} -d.ioArgs=_35; -return d; -}; -var _42=function(dfd){ -dfd.canceled=true; -var xhr=dfd.ioArgs.xhr; -var _at=typeof xhr.abort; -if(_at=="function"||_at=="object"||_at=="unknown"){ -xhr.abort(); -} -var err=dfd.ioArgs.error; -if(!err){ -err=new Error("xhr cancelled"); -err.dojoType="cancel"; -} -return err; -}; -var _47=function(dfd){ -var ret=_d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr); -return ret===undefined?null:ret; -}; -var _4a=function(_4b,dfd){ -console.error(_4b); -return _4b; -}; -var _4d=null; -var _4e=[]; -var _4f=function(){ -var now=(new Date()).getTime(); -if(!_d._blockAsync){ -for(var i=0,tif;i<_4e.length&&(tif=_4e[i]);i++){ -var dfd=tif.dfd; -var _54=function(){ -if(!dfd||dfd.canceled||!tif.validCheck(dfd)){ -_4e.splice(i--,1); -}else{ -if(tif.ioCheck(dfd)){ -_4e.splice(i--,1); -tif.resHandle(dfd); -}else{ -if(dfd.startTime){ -if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){ -_4e.splice(i--,1); -var err=new Error("timeout exceeded"); -err.dojoType="timeout"; -dfd.errback(err); -dfd.cancel(); -} -} -} -} -}; -if(dojo.config.debugAtAllCosts){ -_54.call(this); -}else{ -try{ -_54.call(this); -} -catch(e){ -dfd.errback(e); -} -} -} -} -if(!_4e.length){ -clearInterval(_4d); -_4d=null; -return; -} -}; -dojo._ioCancelAll=function(){ -try{ -_d.forEach(_4e,function(i){ -try{ -i.dfd.cancel(); -} -catch(e){ -} -}); -} -catch(e){ -} -}; -if(_d.isIE){ -_d.addOnWindowUnload(_d._ioCancelAll); -} -_d._ioWatch=function(dfd,_58,_59,_5a){ -var _5b=dfd.ioArgs.args; -if(_5b.timeout){ -dfd.startTime=(new Date()).getTime(); -} -_4e.push({dfd:dfd,validCheck:_58,ioCheck:_59,resHandle:_5a}); -if(!_4d){ -_4d=setInterval(_4f,50); -} -if(_5b.sync){ -_4f(); -} -}; -var _5c="application/x-www-form-urlencoded"; -var _5d=function(dfd){ -return dfd.ioArgs.xhr.readyState; -}; -var _5f=function(dfd){ -return 4==dfd.ioArgs.xhr.readyState; -}; -var _61=function(dfd){ -var xhr=dfd.ioArgs.xhr; -if(_d._isDocumentOk(xhr)){ -dfd.callback(dfd); -}else{ -var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status); -err.status=xhr.status; -err.responseText=xhr.responseText; -dfd.errback(err); -} -}; -dojo._ioAddQueryToUrl=function(_65){ -if(_65.query.length){ -_65.url+=(_65.url.indexOf("?")==-1?"?":"&")+_65.query; -_65.query=null; -} -}; -dojo.xhr=function(_66,_67,_68){ -var dfd=_d._ioSetArgs(_67,_42,_47,_4a); -dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args); -if(_68){ -if("postData" in _67){ -dfd.ioArgs.query=_67.postData; -}else{ -if("putData" in _67){ -dfd.ioArgs.query=_67.putData; -} -} -}else{ -_d._ioAddQueryToUrl(dfd.ioArgs); -} -var _6a=dfd.ioArgs; -var xhr=_6a.xhr; -xhr.open(_66,_6a.url,_67.sync!==true,_67.user||undefined,_67.password||undefined); -if(_67.headers){ -for(var hdr in _67.headers){ -if(hdr.toLowerCase()==="content-type"&&!_67.contentType){ -_67.contentType=_67.headers[hdr]; -}else{ -xhr.setRequestHeader(hdr,_67.headers[hdr]); -} -} -} -xhr.setRequestHeader("Content-Type",_67.contentType||_5c); -if(!_67.headers||!_67.headers["X-Requested-With"]){ -xhr.setRequestHeader("X-Requested-With","XMLHttpRequest"); -} -if(dojo.config.debugAtAllCosts){ -xhr.send(_6a.query); -}else{ -try{ -xhr.send(_6a.query); -} -catch(e){ -dfd.ioArgs.error=e; -dfd.cancel(); -} -} -_d._ioWatch(dfd,_5d,_5f,_61); -xhr=null; -return dfd; -}; -dojo.xhrGet=function(_6d){ -return _d.xhr("GET",_6d); -}; -dojo.rawXhrPost=dojo.xhrPost=function(_6e){ -return _d.xhr("POST",_6e,true); -}; -dojo.rawXhrPut=dojo.xhrPut=function(_6f){ -return _d.xhr("PUT",_6f,true); -}; -dojo.xhrDelete=function(_70){ -return _d.xhr("DELETE",_70); -}; -})(); -} http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/LICENSE ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/LICENSE b/components/camel-web/src/main/webapp/js/dojo/_firebug/LICENSE deleted file mode 100644 index 8c777a2..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/_firebug/LICENSE +++ /dev/null @@ -1,37 +0,0 @@ -License Disclaimer: - -All contents of this directory are Copyright (c) the Dojo Foundation, with the -following exceptions: -------------------------------------------------------------------------------- - -firebug.html, firebug.js, errIcon.png, infoIcon.png, warningIcon.png: - * Copyright (c) 2006-2007, Joe Hewitt, All rights reserved. - Distributed under the terms of the BSD License (see below) - -------------------------------------------------------------------------------- - -Copyright (c) 2006-2007, Joe Hewitt -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/errorIcon.png ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/errorIcon.png b/components/camel-web/src/main/webapp/js/dojo/_firebug/errorIcon.png deleted file mode 100644 index 2d75261..0000000 Binary files a/components/camel-web/src/main/webapp/js/dojo/_firebug/errorIcon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.css ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.css b/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.css deleted file mode 100644 index 3b6f4f9..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.css +++ /dev/null @@ -1,208 +0,0 @@ -.firebug { - margin: 0; - background:#fff; - font-family: Lucida Grande, Tahoma, sans-serif; - font-size: 11px; - overflow: hidden; - border: 1px solid black; - position: relative; -} -.firebug a { - text-decoration: none; -} -.firebug a:hover { - text-decoration: underline; -} -.firebug a:visited{ - color:#0000FF; -} -.firebug #firebugToolbar { - height: 18px; - line-height:18px; - border-top: 1px solid ThreeDHighlight; - border-bottom: 1px solid ThreeDShadow; - padding: 2px 6px; - - background:#f0f0f0; -} -.firebug #firebugLog, .firebug #objectLog { - overflow: auto; - position: absolute; - left: 0; - width: 100%; -} -#objectLog{ - overflow:scroll; - height:258px; -} -.firebug #firebugCommandLine { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 18px; - border: none; - border-top: 1px solid ThreeDShadow; -} -.firebug .logRow { - position: relative; - border-bottom: 1px solid #D7D7D7; - padding: 2px 4px 1px 6px; - background-color: #FFFFFF; -} -.firebug .logRow-command { - font-family: Monaco, monospace; - color: blue; -} -.firebug .objectBox-null { - padding: 0 2px; - border: 1px solid #666666; - background-color: #888888; - color: #FFFFFF; -} -.firebug .objectBox-string { - font-family: Monaco, monospace; - color: red; - white-space: pre; -} -.firebug .objectBox-number { - color: #000088; -} -.firebug .objectBox-function { - font-family: Monaco, monospace; - color: DarkGreen; -} -.firebug .objectBox-object { - color: DarkGreen; - font-weight: bold; -} -.firebug .logRow-info, -.firebug .logRow-error, -.firebug .logRow-warning - { - background: #00FFFF no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .logRow-info { - background: #FFF url(infoIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .logRow-warning { - - background: #00FFFF url(warningIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .logRow-error { - background: LightYellow url(errorIcon.png) no-repeat 2px 2px; - padding-left: 20px; - padding-bottom: 3px; -} -.firebug .errorMessage { - vertical-align: top; - color: #FF0000; -} -.firebug .objectBox-sourceLink { - position: absolute; - right: 4px; - top: 2px; - padding-left: 8px; - font-family: Lucida Grande, sans-serif; - font-weight: bold; - color: #0000FF; -} -.firebug .logRow-group { - background: #EEEEEE; - border-bottom: none; -} -.firebug .logGroup { - background: #EEEEEE; -} -.firebug .logGroupBox { - margin-left: 24px; - border-top: 1px solid #D7D7D7; - border-left: 1px solid #D7D7D7; -} -.firebug .selectorTag, -.firebug .selectorId, -.firebug .selectorClass { - font-family: Monaco, monospace; - font-weight: normal; -} -.firebug .selectorTag { - color: #0000FF; -} -.firebug .selectorId { - color: DarkBlue; -} -.firebug .selectorClass { - color: red; -} -.firebug .objectBox-element { - font-family: Monaco, monospace; - color: #000088; -} -.firebug .nodeChildren { - margin-left: 16px; -} -.firebug .nodeTag { - color: blue; -} -.firebug .nodeValue { - color: #FF0000; - font-weight: normal; -} -.firebug .nodeText, -.firebug .nodeComment { - margin: 0 2px; - vertical-align: top; -} -.firebug .nodeText { - color: #333333; -} -.firebug .nodeComment { - color: DarkGreen; -} -.firebug .propertyNameCell { - vertical-align: top; -} -.firebug .propertyName { - font-weight: bold; -} -#firebugToolbar ul.tabs{ - margin:0 !important; - padding:0; -} -#firebugToolbar ul.tabs li{ - list-style:none; - background:transparent url(tab_lft_norm.png) no-repeat left; - line-height:18px; - float:left; - margin-left:5px; -} -#firebugToolbar ul.tabs li.right{ - float:right; - margin-right:5px; - margin-left:0; -} -#firebugToolbar ul.tabs li.gap{ - margin-left:20px; -} -#firebugToolbar .tabs a{ - text-decoration:none; - background:transparent url(tab_rgt_norm.png) no-repeat right; - line-height:18px; - padding:3px 9px 4px 0px; - margin-left:9px; - color:#333333; -} -#firebugToolbar .tabs li:hover{ - background:transparent url(tab_lft_over.png) no-repeat left; -} -#firebugToolbar .tabs a:hover{ - text-decoration:none; - background:transparent url(tab_rgt_over.png) no-repeat right; - color:#FFFFFF; -} http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.js ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.js b/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.js deleted file mode 100644 index 0700287..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/_firebug/firebug.js +++ /dev/null @@ -1,894 +0,0 @@ -/* - Copyright (c) 2004-2009, 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._firebug.firebug"]){ -dojo._hasResource["dojo._firebug.firebug"]=true; -dojo.provide("dojo._firebug.firebug"); -dojo.deprecated=function(_1,_2,_3){ -var _4="DEPRECATED: "+_1; -if(_2){ -_4+=" "+_2; -} -if(_3){ -_4+=" -- will be removed in version: "+_3; -} -console.warn(_4); -}; -dojo.experimental=function(_5,_6){ -var _7="EXPERIMENTAL: "+_5+" -- APIs subject to change without notice."; -if(_6){ -_7+=" "+_6; -} -console.warn(_7); -}; -if(!window.firebug&&!dojo.config.useCustomLogger&&!dojo.isAIR&&(!dojo.isMoz||(dojo.isMoz&&!("console" in window))||(dojo.isMoz&&!(window.loadFirebugConsole||console.firebug)))){ -(function(){ -try{ -if(window!=window.parent){ -if(window.parent["console"]){ -window.console=window.parent.console; -} -return; -} -} -catch(e){ -} -var _8=document; -var _9=window; -var _a=0; -var _b=null; -var _c=null; -var _d=null; -var _e=null; -var _f=null; -var _10=null; -var _11=false; -var _12=[]; -var _13=[]; -var _14={}; -var _15={}; -var _16=null; -var _17; -var _18; -var _19=false; -var _1a=null; -var _1b=document.createElement("div"); -var _1c; -var _1d; -window.console={_connects:[],log:function(){ -_1e(arguments,""); -},debug:function(){ -_1e(arguments,"debug"); -},info:function(){ -_1e(arguments,"info"); -},warn:function(){ -_1e(arguments,"warning"); -},error:function(){ -_1e(arguments,"error"); -},assert:function(_1f,_20){ -if(!_1f){ -var _21=[]; -for(var i=1;i<arguments.length;++i){ -_21.push(arguments[i]); -} -_1e(_21.length?_21:["Assertion Failure"],"error"); -throw _20?_20:"Assertion Failure"; -} -},dir:function(obj){ -var str=_25(obj); -str=str.replace(/\n/g,"<br />"); -str=str.replace(/\t/g," "); -_26([str],"dir"); -},dirxml:function(_27){ -var _28=[]; -_29(_27,_28); -_26(_28,"dirxml"); -},group:function(){ -_26(arguments,"group",_2a); -},groupEnd:function(){ -_26(arguments,"",_2b); -},time:function(_2c){ -_14[_2c]=new Date().getTime(); -},timeEnd:function(_2d){ -if(_2d in _14){ -var _2e=(new Date()).getTime()-_14[_2d]; -_1e([_2d+":",_2e+"ms"]); -delete _14[_2d]; -} -},count:function(_2f){ -if(!_15[_2f]){ -_15[_2f]=0; -} -_15[_2f]++; -_1e([_2f+": "+_15[_2f]]); -},trace:function(_30){ -var _31=_30||3; -var f=console.trace.caller; - -for(var i=0;i<_31;i++){ -var _34=f.toString(); -var _35=[]; -for(var a=0;a<f.arguments.length;a++){ -_35.push(f.arguments[a]); -} -if(f.arguments.length){ - -}else{ - -} -f=f.caller; -} -},profile:function(){ -this.warn(["profile() not supported."]); -},profileEnd:function(){ -},clear:function(){ -if(_c){ -while(_c.childNodes.length){ -dojo.destroy(_c.firstChild); -} -} -dojo.forEach(this._connects,dojo.disconnect); -},open:function(){ -_37(true); -},close:function(){ -if(_11){ -_37(); -} -},_restoreBorder:function(){ -if(_1c){ -_1c.style.border=_1d; -} -},openDomInspector:function(){ -_19=true; -_c.style.display="none"; -_16.style.display="block"; -_d.style.display="none"; -document.body.style.cursor="pointer"; -_17=dojo.connect(document,"mousemove",function(evt){ -if(!_19){ -return; -} -if(!_1a){ -_1a=setTimeout(function(){ -_1a=null; -},50); -}else{ -return; -} -var _39=evt.target; -if(_39&&(_1c!==_39)){ -var _3a=true; -console._restoreBorder(); -var _3b=[]; -_29(_39,_3b); -_16.innerHTML=_3b.join(""); -_1c=_39; -_1d=_1c.style.border; -_1c.style.border="#0000FF 1px solid"; -} -}); -setTimeout(function(){ -_18=dojo.connect(document,"click",function(evt){ -document.body.style.cursor=""; -_19=!_19; -dojo.disconnect(_18); -}); -},30); -},_closeDomInspector:function(){ -document.body.style.cursor=""; -dojo.disconnect(_17); -dojo.disconnect(_18); -_19=false; -console._restoreBorder(); -},openConsole:function(){ -_c.style.display="block"; -_16.style.display="none"; -_d.style.display="none"; -console._closeDomInspector(); -},openObjectInspector:function(){ -_c.style.display="none"; -_16.style.display="none"; -_d.style.display="block"; -console._closeDomInspector(); -},recss:function(){ -var i,a,s; -a=document.getElementsByTagName("link"); -for(i=0;i<a.length;i++){ -s=a[i]; -if(s.rel.toLowerCase().indexOf("stylesheet")>=0&&s.href){ -var h=s.href.replace(/(&|%5C?)forceReload=\d+/,""); -s.href=h+(h.indexOf("?")>=0?"&":"?")+"forceReload="+new Date().valueOf(); -} -} -}}; -function _37(_41){ -_11=_41||!_11; -if(_b){ -_b.style.display=_11?"block":"none"; -} -}; -function _42(){ -_37(true); -if(_f){ -_f.focus(); -} -}; -function _43(x,y,w,h){ -var win=window.open("","_firebug","status=0,menubar=0,resizable=1,top="+y+",left="+x+",width="+w+",height="+h+",scrollbars=1,addressbar=0"); -if(!win){ -var msg="Firebug Lite could not open a pop-up window, most likely because of a blocker.\n"+"Either enable pop-ups for this domain, or change the djConfig to popup=false."; -alert(msg); -} -_4a(win); -var _4b=win.document; -var _4c="<html style=\"height:100%;\"><head><title>Firebug Lite</title></head>\n"+"<body bgColor=\"#ccc\" style=\"height:97%;\" onresize=\"opener.onFirebugResize()\">\n"+"<div id=\"fb\"></div>"+"</body></html>"; -_4b.write(_4c); -_4b.close(); -return win; -}; -function _4a(wn){ -var d=new Date(); -d.setTime(d.getTime()+(60*24*60*60*1000)); -d=d.toUTCString(); -var dc=wn.document,_50; -if(wn.innerWidth){ -_50=function(){ -return {w:wn.innerWidth,h:wn.innerHeight}; -}; -}else{ -if(dc.documentElement&&dc.documentElement.clientWidth){ -_50=function(){ -return {w:dc.documentElement.clientWidth,h:dc.documentElement.clientHeight}; -}; -}else{ -if(dc.body){ -_50=function(){ -return {w:dc.body.clientWidth,h:dc.body.clientHeight}; -}; -} -} -} -window.onFirebugResize=function(){ -layout(_50().h); -clearInterval(wn._firebugWin_resize); -wn._firebugWin_resize=setTimeout(function(){ -var x=wn.screenLeft,y=wn.screenTop,w=wn.outerWidth||wn.document.body.offsetWidth,h=wn.outerHeight||wn.document.body.offsetHeight; -document.cookie="_firebugPosition="+[x,y,w,h].join(",")+"; expires="+d+"; path=/"; -},5000); -}; -}; -function _55(){ -if(_b){ -return; -} -if(dojo.config.popup){ -var _56="100%"; -var _57=document.cookie.match(/(?:^|; )_firebugPosition=([^;]*)/); -var p=_57?_57[1].split(","):[2,2,320,480]; -_9=_43(p[0],p[1],p[2],p[3]); -_8=_9.document; -dojo.config.debugContainerId="fb"; -_9.console=window.console; -_9.dojo=window.dojo; -}else{ -_8=document; -_56=(dojo.config.debugHeight||300)+"px"; -} -var _59=_8.createElement("link"); -_59.href=dojo.moduleUrl("dojo._firebug","firebug.css"); -_59.rel="stylesheet"; -_59.type="text/css"; -var _5a=_8.getElementsByTagName("head"); -if(_5a){ -_5a=_5a[0]; -} -if(!_5a){ -_5a=_8.getElementsByTagName("html")[0]; -} -if(dojo.isIE){ -window.setTimeout(function(){ -_5a.appendChild(_59); -},0); -}else{ -_5a.appendChild(_59); -} -if(dojo.config.debugContainerId){ -_b=_8.getElementById(dojo.config.debugContainerId); -} -if(!_b){ -_b=_8.createElement("div"); -_8.body.appendChild(_b); -} -_b.className+=" firebug"; -_b.style.height=_56; -_b.style.display=(_11?"block":"none"); -var _5b=function(_5c,_5d,_5e,_5f){ -return "<li class=\""+_5f+"\"><a href=\"javascript:void(0);\" onclick=\"console."+_5e+"(); return false;\" title=\""+_5d+"\">"+_5c+"</a></li>"; -}; -_b.innerHTML="<div id=\"firebugToolbar\">"+" <ul id=\"fireBugTabs\" class=\"tabs\">"+_5b("Clear","Remove All Console Logs","clear","")+_5b("ReCSS","Refresh CSS without reloading page","recss","")+_5b("Console","Show Console Logs","openConsole","gap")+_5b("DOM","Show DOM Inspector","openDomInspector","")+_5b("Object","Show Object Inspector","openObjectInspector","")+((dojo.config.popup)?"":_5b("Close","Close the console","close","gap"))+"\t</ul>"+"</div>"+"<input type=\"text\" id=\"firebugCommandLine\" />"+"<div id=\"firebugLog\"></div>"+"<div id=\"objectLog\" style=\"display:none;\">Click on an object in the Log display</div>"+"<div id=\"domInspect\" style=\"display:none;\">Hover over HTML elements in the main page. Click to hold selection.</div>"; -_10=_8.getElementById("firebugToolbar"); -_f=_8.getElementById("firebugCommandLine"); -_60(_f,"keydown",_61); -_60(_8,dojo.isIE||dojo.isSafari?"keydown":"keypress",_62); -_c=_8.getElementById("firebugLog"); -_d=_8.getElementById("objectLog"); -_16=_8.getElementById("domInspect"); -_e=_8.getElementById("fireBugTabs"); -_63(); -_64(); -}; -dojo.addOnLoad(_55); -function _65(){ -_8=null; -if(_9.console){ -_9.console.clear(); -} -_9=null; -_b=null; -_c=null; -_d=null; -_16=null; -_f=null; -_12=[]; -_13=[]; -_14={}; -}; -function _66(){ -var _67=_f.value; -_f.value=""; -_26(["> ",_67],"command"); -var _68; -try{ -_68=eval(_67); -} -catch(e){ - -} - -}; -function _63(h){ -var _6a=25; -var _6b=h?h-(_6a+_f.offsetHeight+25+(h*0.01))+"px":(_b.offsetHeight-_6a-_f.offsetHeight)+"px"; -_c.style.top=_6a+"px"; -_c.style.height=_6b; -_d.style.height=_6b; -_d.style.top=_6a+"px"; -_16.style.height=_6b; -_16.style.top=_6a+"px"; -_f.style.bottom=0; -dojo.connect(window,"onunload",_65); -}; -function _26(_6c,_6d,_6e){ -if(_c){ -_6f(_6c,_6d,_6e); -}else{ -_12.push([_6c,_6d,_6e]); -} -}; -function _64(){ -var _70=_12; -_12=[]; -for(var i=0;i<_70.length;++i){ -_6f(_70[i][0],_70[i][1],_70[i][2]); -} -}; -function _6f(_72,_73,_74){ -var _75=_c.scrollTop+_c.offsetHeight>=_c.scrollHeight; -_74=_74||_76; -_74(_72,_73); -if(_75){ -_c.scrollTop=_c.scrollHeight-_c.offsetHeight; -} -}; -function _77(row){ -var _79=_13.length?_13[_13.length-1]:_c; -_79.appendChild(row); -}; -function _76(_7a,_7b){ -var row=_c.ownerDocument.createElement("div"); -row.className="logRow"+(_7b?" logRow-"+_7b:""); -row.innerHTML=_7a.join(""); -_77(row); -}; -function _2a(_7d,_7e){ -_1e(_7d,_7e); -var _7f=_c.ownerDocument.createElement("div"); -_7f.className="logGroupBox"; -_77(_7f); -_13.push(_7f); -}; -function _2b(){ -_13.pop(); -}; -function _1e(_80,_81){ -var _82=[]; -var _83=_80[0]; -var _84=0; -if(typeof (_83)!="string"){ -_83=""; -_84=-1; -} -var _85=_86(_83); -for(var i=0;i<_85.length;++i){ -var _88=_85[i]; -if(_88&&typeof _88=="object"){ -_88.appender(_80[++_84],_82); -}else{ -_89(_88,_82); -} -} -var ids=[]; -var obs=[]; -for(i=_84+1;i<_80.length;++i){ -_89(" ",_82); -var _8c=_80[i]; -if(_8c===undefined||_8c===null){ -_8d(_8c,_82); -}else{ -if(typeof (_8c)=="string"){ -_89(_8c,_82); -}else{ -if(_8c instanceof Date){ -_89(_8c.toString(),_82); -}else{ -if(_8c.nodeType==9){ -_89("[ XmlDoc ]",_82); -}else{ -var id="_a"+_a++; -ids.push(id); -obs.push(_8c); -var str="<a id=\""+id+"\" href=\"javascript:void(0);\">"+_90(_8c)+"</a>"; -_91(str,_82); -} -} -} -} -} -_26(_82,_81); -for(i=0;i<ids.length;i++){ -var btn=_8.getElementById(ids[i]); -if(!btn){ -continue; -} -btn.obj=obs[i]; -_9.console._connects.push(dojo.connect(btn,"onclick",function(){ -console.openObjectInspector(); -try{ -_25(this.obj); -} -catch(e){ -this.obj=e; -} -_d.innerHTML="<pre>"+_25(this.obj)+"</pre>"; -})); -} -}; -function _86(_93){ -var _94=[]; -var reg=/((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/; -var _96={s:_89,d:_97,i:_97,f:_98}; -for(var m=reg.exec(_93);m;m=reg.exec(_93)){ -var _9a=m[8]?m[8]:m[5]; -var _9b=_9a in _96?_96[_9a]:_9c; -var _9d=m[3]?parseInt(m[3]):(m[4]=="."?-1:0); -_94.push(_93.substr(0,m[0][0]=="%"?m.index:m.index+1)); -_94.push({appender:_9b,precision:_9d}); -_93=_93.substr(m.index+m[0].length); -} -_94.push(_93); -return _94; -}; -function _9e(_9f){ -function _a0(ch){ -switch(ch){ -case "<": -return "<"; -case ">": -return ">"; -case "&": -return "&"; -case "'": -return "'"; -case "\"": -return """; -} -return "?"; -}; -return String(_9f).replace(/[<>&"']/g,_a0); -}; -function _a2(_a3){ -try{ -return _a3+""; -} -catch(e){ -return null; -} -}; -function _91(_a4,_a5){ -_a5.push(_a2(_a4)); -}; -function _89(_a6,_a7){ -_a7.push(_9e(_a2(_a6))); -}; -function _8d(_a8,_a9){ -_a9.push("<span class=\"objectBox-null\">",_9e(_a2(_a8)),"</span>"); -}; -function _aa(_ab,_ac){ -_ac.push("<span class=\"objectBox-string\">"",_9e(_a2(_ab)),""</span>"); -}; -function _97(_ad,_ae){ -_ae.push("<span class=\"objectBox-number\">",_9e(_a2(_ad)),"</span>"); -}; -function _98(_af,_b0){ -_b0.push("<span class=\"objectBox-number\">",_9e(_a2(_af)),"</span>"); -}; -function _b1(_b2,_b3){ -_b3.push("<span class=\"objectBox-function\">",_90(_b2),"</span>"); -}; -function _9c(_b4,_b5){ -try{ -if(_b4===undefined){ -_8d("undefined",_b5); -}else{ -if(_b4===null){ -_8d("null",_b5); -}else{ -if(typeof _b4=="string"){ -_aa(_b4,_b5); -}else{ -if(typeof _b4=="number"){ -_97(_b4,_b5); -}else{ -if(typeof _b4=="function"){ -_b1(_b4,_b5); -}else{ -if(_b4.nodeType==1){ -_b6(_b4,_b5); -}else{ -if(typeof _b4=="object"){ -_b7(_b4,_b5); -}else{ -_89(_b4,_b5); -} -} -} -} -} -} -} -} -catch(e){ -} -}; -function _b7(_b8,_b9){ -var _ba=_a2(_b8); -var _bb=/\[object (.*?)\]/; -var m=_bb.exec(_ba); -_b9.push("<span class=\"objectBox-object\">",m?m[1]:_ba,"</span>"); -}; -function _b6(_bd,_be){ -_be.push("<span class=\"objectBox-selector\">"); -_be.push("<span class=\"selectorTag\">",_9e(_bd.nodeName.toLowerCase()),"</span>"); -if(_bd.id){ -_be.push("<span class=\"selectorId\">#",_9e(_bd.id),"</span>"); -} -if(_bd.className){ -_be.push("<span class=\"selectorClass\">.",_9e(_bd.className),"</span>"); -} -_be.push("</span>"); -}; -function _29(_bf,_c0){ -if(_bf.nodeType==1){ -_c0.push("<div class=\"objectBox-element\">","<<span class=\"nodeTag\">",_bf.nodeName.toLowerCase(),"</span>"); -for(var i=0;i<_bf.attributes.length;++i){ -var _c2=_bf.attributes[i]; -if(!_c2.specified){ -continue; -} -_c0.push(" <span class=\"nodeName\">",_c2.nodeName.toLowerCase(),"</span>="<span class=\"nodeValue\">",_9e(_c2.nodeValue),"</span>""); -} -if(_bf.firstChild){ -_c0.push("></div><div class=\"nodeChildren\">"); -for(var _c3=_bf.firstChild;_c3;_c3=_c3.nextSibling){ -_29(_c3,_c0); -} -_c0.push("</div><div class=\"objectBox-element\"></<span class=\"nodeTag\">",_bf.nodeName.toLowerCase(),"></span></div>"); -}else{ -_c0.push("/></div>"); -} -}else{ -if(_bf.nodeType==3){ -_c0.push("<div class=\"nodeText\">",_9e(_bf.nodeValue),"</div>"); -} -} -}; -function _60(_c4,_c5,_c6){ -if(document.all){ -_c4.attachEvent("on"+_c5,_c6); -}else{ -_c4.addEventListener(_c5,_c6,false); -} -}; -function _c7(_c8,_c9,_ca){ -if(document.all){ -_c8.detachEvent("on"+_c9,_ca); -}else{ -_c8.removeEventListener(_c9,_ca,false); -} -}; -function _cb(_cc){ -if(document.all){ -_cc.cancelBubble=true; -}else{ -_cc.stopPropagation(); -} -}; -function _cd(msg,_cf,_d0){ -var _d1=_cf.lastIndexOf("/"); -var _d2=_d1==-1?_cf:_cf.substr(_d1+1); -var _d3=["<span class=\"errorMessage\">",msg,"</span>","<div class=\"objectBox-sourceLink\">",_d2," (line ",_d0,")</div>"]; -_26(_d3,"error"); -}; -var _d4=new Date().getTime(); -function _62(_d5){ -var _d6=(new Date()).getTime(); -if(_d6>_d4+200){ -_d5=dojo.fixEvent(_d5); -var _d7=dojo.keys; -var ekc=_d5.keyCode; -_d4=_d6; -if(ekc==_d7.F12){ -_37(); -}else{ -if((ekc==_d7.NUMPAD_ENTER||ekc==76)&&_d5.shiftKey&&(_d5.metaKey||_d5.ctrlKey)){ -_42(); -}else{ -return; -} -} -_cb(_d5); -} -}; -function _61(e){ -var dk=dojo.keys; -if(e.keyCode==13&&_f.value){ -_db(_f.value); -_66(); -}else{ -if(e.keyCode==27){ -_f.value=""; -}else{ -if(e.keyCode==dk.UP_ARROW||e.charCode==dk.UP_ARROW){ -_dc("older"); -}else{ -if(e.keyCode==dk.DOWN_ARROW||e.charCode==dk.DOWN_ARROW){ -_dc("newer"); -}else{ -if(e.keyCode==dk.HOME||e.charCode==dk.HOME){ -_dd=1; -_dc("older"); -}else{ -if(e.keyCode==dk.END||e.charCode==dk.END){ -_dd=999999; -_dc("newer"); -} -} -} -} -} -} -}; -var _dd=-1; -var _de=null; -function _db(_df){ -var _e0=_e1("firebug_history"); -_e0=(_e0)?dojo.fromJson(_e0):[]; -var pos=dojo.indexOf(_e0,_df); -if(pos!=-1){ -_e0.splice(pos,1); -} -_e0.push(_df); -_e1("firebug_history",dojo.toJson(_e0),30); -while(_e0.length&&!_e1("firebug_history")){ -_e0.shift(); -_e1("firebug_history",dojo.toJson(_e0),30); -} -_de=null; -_dd=-1; -}; -function _dc(_e3){ -var _e4=_e1("firebug_history"); -_e4=(_e4)?dojo.fromJson(_e4):[]; -if(!_e4.length){ -return; -} -if(_de===null){ -_de=_f.value; -} -if(_dd==-1){ -_dd=_e4.length; -} -if(_e3=="older"){ ---_dd; -if(_dd<0){ -_dd=0; -} -}else{ -if(_e3=="newer"){ -++_dd; -if(_dd>_e4.length){ -_dd=_e4.length; -} -} -} -if(_dd==_e4.length){ -_f.value=_de; -_de=null; -}else{ -_f.value=_e4[_dd]; -} -}; -function _e1(_e5,_e6){ -var c=document.cookie; -if(arguments.length==1){ -var _e8=c.match(new RegExp("(?:^|; )"+_e5+"=([^;]*)")); -return _e8?decodeURIComponent(_e8[1]):undefined; -}else{ -var d=new Date(); -d.setMonth(d.getMonth()+1); -document.cookie=_e5+"="+encodeURIComponent(_e6)+((d.toUtcString)?"; expires="+d.toUTCString():""); -} -}; -function _ea(it){ -return it&&it instanceof Array||typeof it=="array"; -}; -function _ec(o){ -var cnt=0; -for(var nm in o){ -cnt++; -} -return cnt; -}; -function _25(o,i,txt,_f3){ -var ind=" \t"; -txt=txt||""; -i=i||ind; -_f3=_f3||[]; -var _f5; -if(o&&o.nodeType==1){ -var _f6=[]; -_29(o,_f6); -return _f6.join(""); -} -var br=",\n",cnt=0,_f9=_ec(o); -if(o instanceof Date){ -return i+o.toString()+br; -} -looking: -for(var nm in o){ -cnt++; -if(cnt==_f9){ -br="\n"; -} -if(o[nm]===window||o[nm]===document){ -continue; -}else{ -if(o[nm]===null){ -txt+=i+nm+" : NULL"+br; -}else{ -if(o[nm]&&o[nm].nodeType){ -if(o[nm].nodeType==1){ -}else{ -if(o[nm].nodeType==3){ -txt+=i+nm+" : [ TextNode "+o[nm].data+" ]"+br; -} -} -}else{ -if(typeof o[nm]=="object"&&(o[nm] instanceof String||o[nm] instanceof Number||o[nm] instanceof Boolean)){ -txt+=i+nm+" : "+o[nm]+","+br; -}else{ -if(o[nm] instanceof Date){ -txt+=i+nm+" : "+o[nm].toString()+br; -}else{ -if(typeof (o[nm])=="object"&&o[nm]){ -for(var j=0,_fc;_fc=_f3[j];j++){ -if(o[nm]===_fc){ -txt+=i+nm+" : RECURSION"+br; -continue looking; -} -} -_f3.push(o[nm]); -_f5=(_ea(o[nm]))?["[","]"]:["{","}"]; -txt+=i+nm+" : "+_f5[0]+"\n"; -txt+=_25(o[nm],i+ind,"",_f3); -txt+=i+_f5[1]+br; -}else{ -if(typeof o[nm]=="undefined"){ -txt+=i+nm+" : undefined"+br; -}else{ -if(nm=="toString"&&typeof o[nm]=="function"){ -var _fd=o[nm](); -if(typeof _fd=="string"&&_fd.match(/function ?(.*?)\(/)){ -_fd=_9e(_90(o[nm])); -} -txt+=i+nm+" : "+_fd+br; -}else{ -txt+=i+nm+" : "+_9e(_90(o[nm]))+br; -} -} -} -} -} -} -} -} -} -return txt; -}; -function _90(obj){ -var _ff=(obj instanceof Error); -if(obj.nodeType==1){ -return _9e("< "+obj.tagName.toLowerCase()+" id=\""+obj.id+"\" />"); -} -if(obj.nodeType==3){ -return _9e("[TextNode: \""+obj.nodeValue+"\"]"); -} -var nm=(obj&&(obj.id||obj.name||obj.ObjectID||obj.widgetId)); -if(!_ff&&nm){ -return "{"+nm+"}"; -} -var _101=2; -var _102=4; -var cnt=0; -if(_ff){ -nm="[ Error: "+(obj.message||obj.description||obj)+" ]"; -}else{ -if(_ea(obj)){ -nm="["+obj.slice(0,_102).join(","); -if(obj.length>_102){ -nm+=" ... ("+obj.length+" items)"; -} -nm+="]"; -}else{ -if(typeof obj=="function"){ -nm=obj+""; -var reg=/function\s*([^\(]*)(\([^\)]*\))[^\{]*\{/; -var m=reg.exec(nm); -if(m){ -if(!m[1]){ -m[1]="function"; -} -nm=m[1]+m[2]; -}else{ -nm="function()"; -} -}else{ -if(typeof obj!="object"||typeof obj=="string"){ -nm=obj+""; -}else{ -nm="{"; -for(var i in obj){ -cnt++; -if(cnt>_101){ -break; -} -nm+=i+":"+_9e(obj[i])+" "; -} -nm+="}"; -} -} -} -} -return nm; -}; -_60(document,dojo.isIE||dojo.isSafari?"keydown":"keypress",_62); -if((document.documentElement.getAttribute("debug")=="true")||(dojo.config.isDebug)){ -_37(true); -} -})(); -} -} http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/infoIcon.png ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/infoIcon.png b/components/camel-web/src/main/webapp/js/dojo/_firebug/infoIcon.png deleted file mode 100644 index da1e533..0000000 Binary files a/components/camel-web/src/main/webapp/js/dojo/_firebug/infoIcon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_norm.png ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_norm.png b/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_norm.png deleted file mode 100644 index f0479a2..0000000 Binary files a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_norm.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_over.png ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_over.png b/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_over.png deleted file mode 100644 index 2f36cca..0000000 Binary files a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_lft_over.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_norm.png ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_norm.png b/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_norm.png deleted file mode 100644 index 464af3e..0000000 Binary files a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_norm.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_over.png ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_over.png b/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_over.png deleted file mode 100644 index 2bc2cd0..0000000 Binary files a/components/camel-web/src/main/webapp/js/dojo/_firebug/tab_rgt_over.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/_firebug/warningIcon.png ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/_firebug/warningIcon.png b/components/camel-web/src/main/webapp/js/dojo/_firebug/warningIcon.png deleted file mode 100644 index de51084..0000000 Binary files a/components/camel-web/src/main/webapp/js/dojo/_firebug/warningIcon.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/back.js ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/back.js b/components/camel-web/src/main/webapp/js/dojo/back.js deleted file mode 100644 index 51eb86d..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/back.js +++ /dev/null @@ -1,254 +0,0 @@ -/* - Copyright (c) 2004-2009, 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.back"]){ -dojo._hasResource["dojo.back"]=true; -dojo.provide("dojo.back"); -(function(){ -var _1=dojo.back; -function _2(){ -var h=window.location.hash; -if(h.charAt(0)=="#"){ -h=h.substring(1); -} -return dojo.isMozilla?h:decodeURIComponent(h); -}; -function _4(h){ -if(!h){ -h=""; -} -window.location.hash=encodeURIComponent(h); -_6=history.length; -}; -if(dojo.exists("tests.back-hash")){ -_1.getHash=_2; -_1.setHash=_4; -} -var _7=(typeof (window)!=="undefined")?window.location.href:""; -var _8=(typeof (window)!=="undefined")?_2():""; -var _9=null; -var _a=null; -var _b=null; -var _c=null; -var _d=[]; -var _e=[]; -var _f=false; -var _10=false; -var _6; -function _11(){ -var _12=_e.pop(); -if(!_12){ -return; -} -var _13=_e[_e.length-1]; -if(!_13&&_e.length==0){ -_13=_9; -} -if(_13){ -if(_13.kwArgs["back"]){ -_13.kwArgs["back"](); -}else{ -if(_13.kwArgs["backButton"]){ -_13.kwArgs["backButton"](); -}else{ -if(_13.kwArgs["handle"]){ -_13.kwArgs.handle("back"); -} -} -} -} -_d.push(_12); -}; -_1.goBack=_11; -function _14(){ -var _15=_d.pop(); -if(!_15){ -return; -} -if(_15.kwArgs["forward"]){ -_15.kwArgs.forward(); -}else{ -if(_15.kwArgs["forwardButton"]){ -_15.kwArgs.forwardButton(); -}else{ -if(_15.kwArgs["handle"]){ -_15.kwArgs.handle("forward"); -} -} -} -_e.push(_15); -}; -_1.goForward=_14; -function _16(url,_18,_19){ -return {"url":url,"kwArgs":_18,"urlHash":_19}; -}; -function _1a(url){ -var _1c=url.split("?"); -if(_1c.length<2){ -return null; -}else{ -return _1c[1]; -} -}; -function _1d(){ -var url=(dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html"))+"?"+(new Date()).getTime(); -_f=true; -if(_c){ -dojo.isWebKit?_c.location=url:window.frames[_c.name].location=url; -}else{ -} -return url; -}; -function _1f(){ -if(!_10){ -var hsl=_e.length; -var _21=_2(); -if((_21===_8||window.location.href==_7)&&(hsl==1)){ -_11(); -return; -} -if(_d.length>0){ -if(_d[_d.length-1].urlHash===_21){ -_14(); -return; -} -} -if((hsl>=2)&&(_e[hsl-2])){ -if(_e[hsl-2].urlHash===_21){ -_11(); -return; -} -} -if(dojo.isSafari&&dojo.isSafari<3){ -var _22=history.length; -if(_22>_6){ -_14(); -}else{ -if(_22<_6){ -_11(); -} -} -_6=_22; -} -} -}; -_1.init=function(){ -if(dojo.byId("dj_history")){ -return; -} -var src=dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html"); -document.write("<iframe style=\"border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;\" name=\"dj_history\" id=\"dj_history\" src=\""+src+"\"></iframe>"); -}; -_1.setInitialState=function(_24){ -_9=_16(_7,_24,_8); -}; -_1.addToHistory=function(_25){ -_d=[]; -var _26=null; -var url=null; -if(!_c){ -if(dojo.config["useXDomain"]&&!dojo.config["dojoIframeHistoryUrl"]){ -console.warn("dojo.back: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html"); -} -_c=window.frames["dj_history"]; -} -if(!_b){ -_b=dojo.create("a",{style:{display:"none"}},dojo.body()); -} -if(_25["changeUrl"]){ -_26=""+((_25["changeUrl"]!==true)?_25["changeUrl"]:(new Date()).getTime()); -if(_e.length==0&&_9.urlHash==_26){ -_9=_16(url,_25,_26); -return; -}else{ -if(_e.length>0&&_e[_e.length-1].urlHash==_26){ -_e[_e.length-1]=_16(url,_25,_26); -return; -} -} -_10=true; -setTimeout(function(){ -_4(_26); -_10=false; -},1); -_b.href=_26; -if(dojo.isIE){ -url=_1d(); -var _28=_25["back"]||_25["backButton"]||_25["handle"]; -var tcb=function(_2a){ -if(_2()!=""){ -setTimeout(function(){ -_4(_26); -},1); -} -_28.apply(this,[_2a]); -}; -if(_25["back"]){ -_25.back=tcb; -}else{ -if(_25["backButton"]){ -_25.backButton=tcb; -}else{ -if(_25["handle"]){ -_25.handle=tcb; -} -} -} -var _2b=_25["forward"]||_25["forwardButton"]||_25["handle"]; -var tfw=function(_2d){ -if(_2()!=""){ -_4(_26); -} -if(_2b){ -_2b.apply(this,[_2d]); -} -}; -if(_25["forward"]){ -_25.forward=tfw; -}else{ -if(_25["forwardButton"]){ -_25.forwardButton=tfw; -}else{ -if(_25["handle"]){ -_25.handle=tfw; -} -} -} -}else{ -if(!dojo.isIE){ -if(!_a){ -_a=setInterval(_1f,200); -} -} -} -}else{ -url=_1d(); -} -_e.push(_16(url,_25,_26)); -}; -_1._iframeLoaded=function(evt,_2f){ -var _30=_1a(_2f.href); -if(_30==null){ -if(_e.length==1){ -_11(); -} -return; -} -if(_f){ -_f=false; -return; -} -if(_e.length>=2&&_30==_1a(_e[_e.length-2].url)){ -_11(); -}else{ -if(_d.length>0&&_30==_1a(_d[_d.length-1].url)){ -_14(); -} -} -}; -})(); -} http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojo/behavior.js ---------------------------------------------------------------------- diff --git a/components/camel-web/src/main/webapp/js/dojo/behavior.js b/components/camel-web/src/main/webapp/js/dojo/behavior.js deleted file mode 100644 index 6c6df5e..0000000 --- a/components/camel-web/src/main/webapp/js/dojo/behavior.js +++ /dev/null @@ -1,94 +0,0 @@ -/* - Copyright (c) 2004-2009, 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.behavior"]){ -dojo._hasResource["dojo.behavior"]=true; -dojo.provide("dojo.behavior"); -dojo.behavior=new function(){ -function _1(_2,_3){ -if(!_2[_3]){ -_2[_3]=[]; -} -return _2[_3]; -}; -var _4=0; -function _5(_6,_7,_8){ -var _9={}; -for(var x in _6){ -if(typeof _9[x]=="undefined"){ -if(!_8){ -_7(_6[x],x); -}else{ -_8.call(_7,_6[x],x); -} -} -} -}; -this._behaviors={}; -this.add=function(_b){ -var _c={}; -_5(_b,this,function(_d,_e){ -var _f=_1(this._behaviors,_e); -if(typeof _f["id"]!="number"){ -_f.id=_4++; -} -var _10=[]; -_f.push(_10); -if((dojo.isString(_d))||(dojo.isFunction(_d))){ -_d={found:_d}; -} -_5(_d,function(_11,_12){ -_1(_10,_12).push(_11); -}); -}); -}; -var _13=function(_14,_15,_16){ -if(dojo.isString(_15)){ -if(_16=="found"){ -dojo.publish(_15,[_14]); -}else{ -dojo.connect(_14,_16,function(){ -dojo.publish(_15,arguments); -}); -} -}else{ -if(dojo.isFunction(_15)){ -if(_16=="found"){ -_15(_14); -}else{ -dojo.connect(_14,_16,_15); -} -} -} -}; -this.apply=function(){ -_5(this._behaviors,function(_17,id){ -dojo.query(id).forEach(function(_19){ -var _1a=0; -var bid="_dj_behavior_"+_17.id; -if(typeof _19[bid]=="number"){ -_1a=_19[bid]; -if(_1a==(_17.length)){ -return; -} -} -for(var x=_1a,_1d;_1d=_17[x];x++){ -_5(_1d,function(_1e,_1f){ -if(dojo.isArray(_1e)){ -dojo.forEach(_1e,function(_20){ -_13(_19,_20,_1f); -}); -} -}); -} -_19[bid]=_17.length; -}); -}); -}; -}; -dojo.addOnLoad(dojo.behavior,"apply"); -}