camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [27/54] [partial] camel git commit: CAMEL-7263: Remove not maintained and deprecated camel-web module.
Date Sun, 22 Mar 2015 16:05:19 GMT
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/charting/widget/Legend.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/charting/widget/Legend.js b/components/camel-web/src/main/webapp/js/dojox/charting/widget/Legend.js
deleted file mode 100644
index c11ce45..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/charting/widget/Legend.js
+++ /dev/null
@@ -1,121 +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["dojox.charting.widget.Legend"]){
-dojo._hasResource["dojox.charting.widget.Legend"]=true;
-dojo.provide("dojox.charting.widget.Legend");
-dojo.require("dijit._Widget");
-dojo.require("dijit._Templated");
-dojo.require("dojox.lang.functional.array");
-dojo.require("dojox.lang.functional.fold");
-dojo.declare("dojox.charting.widget.Legend",[dijit._Widget,dijit._Templated],{chartRef:"",horizontal:true,templateString:"<table dojoAttachPoint='legendNode' class='dojoxLegendNode'><tbody dojoAttachPoint='legendBody'></tbody></table>",legendNode:null,legendBody:null,postCreate:function(){
-if(!this.chart){
-if(!this.chartRef){
-return;
-}
-this.chart=dijit.byId(this.chartRef);
-if(!this.chart){
-var _1=dojo.byId(this.chartRef);
-if(_1){
-this.chart=dijit.byNode(_1);
-}else{
-
-return;
-}
-}
-this.series=this.chart.chart.series;
-}else{
-this.series=this.chart.series;
-}
-this.refresh();
-},refresh:function(){
-var df=dojox.lang.functional;
-if(this._surfaces){
-dojo.forEach(this._surfaces,function(_3){
-_3.destroy();
-});
-}
-this._surfaces=[];
-while(this.legendBody.lastChild){
-dojo.destroy(this.legendBody.lastChild);
-}
-if(this.horizontal){
-dojo.addClass(this.legendNode,"dojoxLegendHorizontal");
-this._tr=dojo.doc.createElement("tr");
-this.legendBody.appendChild(this._tr);
-}
-var s=this.series;
-if(s.length==0){
-return;
-}
-if(s[0].chart.stack[0].declaredClass=="dojox.charting.plot2d.Pie"){
-var t=s[0].chart.stack[0];
-if(typeof t.run.data[0]=="number"){
-var _6=df.map(t.run.data,"Math.max(x, 0)");
-if(df.every(_6,"<= 0")){
-return;
-}
-var _7=df.map(_6,"/this",df.foldl(_6,"+",0));
-dojo.forEach(_7,function(x,i){
-this._addLabel(t.dyn[i],t._getLabel(x*100)+"%");
-},this);
-}else{
-dojo.forEach(t.run.data,function(x,i){
-this._addLabel(t.dyn[i],x.legend||x.text||x.y);
-},this);
-}
-}else{
-dojo.forEach(s,function(x){
-this._addLabel(x.dyn,x.legend||x.name);
-},this);
-}
-},_addLabel:function(_d,_e){
-var _f=dojo.doc.createElement("td"),_10=dojo.doc.createElement("td"),div=dojo.doc.createElement("div");
-dojo.addClass(_f,"dojoxLegendIcon");
-dojo.addClass(_10,"dojoxLegendText");
-div.style.width="20px";
-div.style.height="20px";
-_f.appendChild(div);
-if(this._tr){
-this._tr.appendChild(_f);
-this._tr.appendChild(_10);
-}else{
-var tr=dojo.doc.createElement("tr");
-this.legendBody.appendChild(tr);
-tr.appendChild(_f);
-tr.appendChild(_10);
-}
-this._makeIcon(div,_d);
-_10.innerHTML=String(_e);
-},_makeIcon:function(div,dyn){
-var mb={h:14,w:14};
-var _16=dojox.gfx.createSurface(div,mb.w,mb.h);
-this._surfaces.push(_16);
-if(dyn.fill){
-_16.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setFill(dyn.fill).setStroke(dyn.stroke);
-}else{
-if(dyn.stroke||dyn.marker){
-var _17={x1:0,y1:mb.h/2,x2:mb.w,y2:mb.h/2};
-if(dyn.stroke){
-_16.createLine(_17).setStroke(dyn.stroke);
-}
-if(dyn.marker){
-var c={x:mb.w/2,y:mb.h/2};
-if(dyn.stroke){
-_16.createPath({path:"M"+c.x+" "+c.y+" "+dyn.marker}).setFill(dyn.stroke.color).setStroke(dyn.stroke);
-}else{
-_16.createPath({path:"M"+c.x+" "+c.y+" "+dyn.marker}).setFill(dyn.color).setStroke(dyn.color);
-}
-}
-}else{
-_16.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setStroke("black");
-_16.createLine({x1:2,y1:2,x2:mb.w-2,y2:mb.h-2}).setStroke("black");
-_16.createLine({x1:2,y1:mb.h-2,x2:mb.w-2,y2:2}).setStroke("black");
-}
-}
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/charting/widget/Sparkline.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/charting/widget/Sparkline.js b/components/camel-web/src/main/webapp/js/dojox/charting/widget/Sparkline.js
deleted file mode 100644
index f1c791f..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/charting/widget/Sparkline.js
+++ /dev/null
@@ -1,33 +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["dojox.charting.widget.Sparkline"]){
-dojo._hasResource["dojox.charting.widget.Sparkline"]=true;
-dojo.provide("dojox.charting.widget.Sparkline");
-dojo.require("dojox.charting.widget.Chart2D");
-dojo.require("dojox.charting.themes.ET.greys");
-(function(){
-var d=dojo;
-dojo.declare("dojox.charting.widget.Sparkline",dojox.charting.widget.Chart2D,{theme:dojox.charting.themes.ET.greys,margins:{l:0,r:0,t:0,b:0},type:"Lines",valueFn:"Number(x)",store:"",field:"",query:"",queryOptions:"",start:"0",count:"Infinity",sort:"",data:"",name:"default",buildRendering:function(){
-var n=this.srcNodeRef;
-if(!n.childNodes.length||!d.query("> .axis, > .plot, > .action, > .series",n).length){
-var _3=document.createElement("div");
-d.attr(_3,{"class":"plot","name":"default","type":this.type});
-n.appendChild(_3);
-var _4=document.createElement("div");
-d.attr(_4,{"class":"series",plot:"default",name:this.name,start:this.start,count:this.count,valueFn:this.valueFn});
-d.forEach(["store","field","query","queryOptions","sort","data"],function(i){
-if(this[i].length){
-d.attr(_4,i,this[i]);
-}
-},this);
-n.appendChild(_4);
-}
-this.inherited(arguments);
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections.js b/components/camel-web/src/main/webapp/js/dojox/collections.js
deleted file mode 100644
index d0bb1d9..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections.js
+++ /dev/null
@@ -1,12 +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["dojox.collections"]){
-dojo._hasResource["dojox.collections"]=true;
-dojo.provide("dojox.collections");
-dojo.require("dojox.collections._base");
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/ArrayList.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/ArrayList.js b/components/camel-web/src/main/webapp/js/dojox/collections/ArrayList.js
deleted file mode 100644
index 924798c..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/ArrayList.js
+++ /dev/null
@@ -1,104 +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["dojox.collections.ArrayList"]){
-dojo._hasResource["dojox.collections.ArrayList"]=true;
-dojo.provide("dojox.collections.ArrayList");
-dojo.require("dojox.collections._base");
-dojox.collections.ArrayList=function(_1){
-var _2=[];
-if(_1){
-_2=_2.concat(_1);
-}
-this.count=_2.length;
-this.add=function(_3){
-_2.push(_3);
-this.count=_2.length;
-};
-this.addRange=function(a){
-if(a.getIterator){
-var e=a.getIterator();
-while(!e.atEnd()){
-this.add(e.get());
-}
-this.count=_2.length;
-}else{
-for(var i=0;i<a.length;i++){
-_2.push(a[i]);
-}
-this.count=_2.length;
-}
-};
-this.clear=function(){
-_2.splice(0,_2.length);
-this.count=0;
-};
-this.clone=function(){
-return new dojox.collections.ArrayList(_2);
-};
-this.contains=function(_7){
-for(var i=0;i<_2.length;i++){
-if(_2[i]==_7){
-return true;
-}
-}
-return false;
-};
-this.forEach=function(fn,_a){
-dojo.forEach(_2,fn,_a);
-};
-this.getIterator=function(){
-return new dojox.collections.Iterator(_2);
-};
-this.indexOf=function(_b){
-for(var i=0;i<_2.length;i++){
-if(_2[i]==_b){
-return i;
-}
-}
-return -1;
-};
-this.insert=function(i,_e){
-_2.splice(i,0,_e);
-this.count=_2.length;
-};
-this.item=function(i){
-return _2[i];
-};
-this.remove=function(obj){
-var i=this.indexOf(obj);
-if(i>=0){
-_2.splice(i,1);
-}
-this.count=_2.length;
-};
-this.removeAt=function(i){
-_2.splice(i,1);
-this.count=_2.length;
-};
-this.reverse=function(){
-_2.reverse();
-};
-this.sort=function(fn){
-if(fn){
-_2.sort(fn);
-}else{
-_2.sort();
-}
-};
-this.setByIndex=function(i,obj){
-_2[i]=obj;
-this.count=_2.length;
-};
-this.toArray=function(){
-return [].concat(_2);
-};
-this.toString=function(_16){
-return _2.join((_16||","));
-};
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/BinaryTree.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/BinaryTree.js b/components/camel-web/src/main/webapp/js/dojox/collections/BinaryTree.js
deleted file mode 100644
index 3b4a3d7..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/BinaryTree.js
+++ /dev/null
@@ -1,255 +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["dojox.collections.BinaryTree"]){
-dojo._hasResource["dojox.collections.BinaryTree"]=true;
-dojo.provide("dojox.collections.BinaryTree");
-dojo.require("dojox.collections._base");
-dojox.collections.BinaryTree=function(_1){
-function _2(_3,_4,_5){
-this.value=_3||null;
-this.right=_4||null;
-this.left=_5||null;
-this.clone=function(){
-var c=new _2();
-if(this.value.value){
-c.value=this.value.clone();
-}else{
-c.value=this.value;
-}
-if(this.left!=null){
-c.left=this.left.clone();
-}
-if(this.right!=null){
-c.right=this.right.clone();
-}
-return c;
-};
-this.compare=function(n){
-if(this.value>n.value){
-return 1;
-}
-if(this.value<n.value){
-return -1;
-}
-return 0;
-};
-this.compareData=function(d){
-if(this.value>d){
-return 1;
-}
-if(this.value<d){
-return -1;
-}
-return 0;
-};
-};
-function _9(_a,a){
-if(_a){
-_9(_a.left,a);
-a.push(_a.value);
-_9(_a.right,a);
-}
-};
-function _c(_d,_e){
-var s="";
-if(_d){
-s=_d.value.toString()+_e;
-s+=_c(_d.left,_e);
-s+=_c(_d.right,_e);
-}
-return s;
-};
-function _10(_11,sep){
-var s="";
-if(_11){
-s=_10(_11.left,sep);
-s+=_11.value.toString()+sep;
-s+=_10(_11.right,sep);
-}
-return s;
-};
-function _14(_15,sep){
-var s="";
-if(_15){
-s=_14(_15.left,sep);
-s+=_14(_15.right,sep);
-s+=_15.value.toString()+sep;
-}
-return s;
-};
-function _18(_19,_1a){
-if(!_19){
-return null;
-}
-var i=_19.compareData(_1a);
-if(i==0){
-return _19;
-}
-if(i>0){
-return _18(_19.left,_1a);
-}else{
-return _18(_19.right,_1a);
-}
-};
-this.add=function(_1c){
-var n=new _2(_1c);
-var i;
-var _1f=_20;
-var _21=null;
-while(_1f){
-i=_1f.compare(n);
-if(i==0){
-return;
-}
-_21=_1f;
-if(i>0){
-_1f=_1f.left;
-}else{
-_1f=_1f.right;
-}
-}
-this.count++;
-if(!_21){
-_20=n;
-}else{
-i=_21.compare(n);
-if(i>0){
-_21.left=n;
-}else{
-_21.right=n;
-}
-}
-};
-this.clear=function(){
-_20=null;
-this.count=0;
-};
-this.clone=function(){
-var c=new dojox.collections.BinaryTree();
-var itr=this.getIterator();
-while(!itr.atEnd()){
-c.add(itr.get());
-}
-return c;
-};
-this.contains=function(_24){
-return this.search(_24)!=null;
-};
-this.deleteData=function(_25){
-var _26=_20;
-var _27=null;
-var i=_26.compareData(_25);
-while(i!=0&&_26!=null){
-if(i>0){
-_27=_26;
-_26=_26.left;
-}else{
-if(i<0){
-_27=_26;
-_26=_26.right;
-}
-}
-i=_26.compareData(_25);
-}
-if(!_26){
-return;
-}
-this.count--;
-if(!_26.right){
-if(!_27){
-_20=_26.left;
-}else{
-i=_27.compare(_26);
-if(i>0){
-_27.left=_26.left;
-}else{
-if(i<0){
-_27.right=_26.left;
-}
-}
-}
-}else{
-if(!_26.right.left){
-if(!_27){
-_20=_26.right;
-}else{
-i=_27.compare(_26);
-if(i>0){
-_27.left=_26.right;
-}else{
-if(i<0){
-_27.right=_26.right;
-}
-}
-}
-}else{
-var _29=_26.right.left;
-var _2a=_26.right;
-while(_29.left!=null){
-_2a=_29;
-_29=_29.left;
-}
-_2a.left=_29.right;
-_29.left=_26.left;
-_29.right=_26.right;
-if(!_27){
-_20=_29;
-}else{
-i=_27.compare(_26);
-if(i>0){
-_27.left=_29;
-}else{
-if(i<0){
-_27.right=_29;
-}
-}
-}
-}
-}
-};
-this.getIterator=function(){
-var a=[];
-_9(_20,a);
-return new dojox.collections.Iterator(a);
-};
-this.search=function(_2c){
-return _18(_20,_2c);
-};
-this.toString=function(_2d,sep){
-if(!_2d){
-_2d=dojox.collections.BinaryTree.TraversalMethods.Inorder;
-}
-if(!sep){
-sep=",";
-}
-var s="";
-switch(_2d){
-case dojox.collections.BinaryTree.TraversalMethods.Preorder:
-s=_c(_20,sep);
-break;
-case dojox.collections.BinaryTree.TraversalMethods.Inorder:
-s=_10(_20,sep);
-break;
-case dojox.collections.BinaryTree.TraversalMethods.Postorder:
-s=_14(_20,sep);
-break;
-}
-if(s.length==0){
-return "";
-}else{
-return s.substring(0,s.length-sep.length);
-}
-};
-this.count=0;
-var _20=this.root=null;
-if(_1){
-this.add(_1);
-}
-};
-dojox.collections.BinaryTree.TraversalMethods={Preorder:1,Inorder:2,Postorder:3};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/Dictionary.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/Dictionary.js b/components/camel-web/src/main/webapp/js/dojox/collections/Dictionary.js
deleted file mode 100644
index ddcdb5a..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/Dictionary.js
+++ /dev/null
@@ -1,91 +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["dojox.collections.Dictionary"]){
-dojo._hasResource["dojox.collections.Dictionary"]=true;
-dojo.provide("dojox.collections.Dictionary");
-dojo.require("dojox.collections._base");
-dojox.collections.Dictionary=function(_1){
-var _2={};
-this.count=0;
-var _3={};
-this.add=function(k,v){
-var b=(k in _2);
-_2[k]=new dojox.collections.DictionaryEntry(k,v);
-if(!b){
-this.count++;
-}
-};
-this.clear=function(){
-_2={};
-this.count=0;
-};
-this.clone=function(){
-return new dojox.collections.Dictionary(this);
-};
-this.contains=this.containsKey=function(k){
-if(_3[k]){
-return false;
-}
-return (_2[k]!=null);
-};
-this.containsValue=function(v){
-var e=this.getIterator();
-while(e.get()){
-if(e.element.value==v){
-return true;
-}
-}
-return false;
-};
-this.entry=function(k){
-return _2[k];
-};
-this.forEach=function(fn,_c){
-var a=[];
-for(var p in _2){
-if(!_3[p]){
-a.push(_2[p]);
-}
-}
-dojo.forEach(a,fn,_c);
-};
-this.getKeyList=function(){
-return (this.getIterator()).map(function(_f){
-return _f.key;
-});
-};
-this.getValueList=function(){
-return (this.getIterator()).map(function(_10){
-return _10.value;
-});
-};
-this.item=function(k){
-if(k in _2){
-return _2[k].valueOf();
-}
-return undefined;
-};
-this.getIterator=function(){
-return new dojox.collections.DictionaryIterator(_2);
-};
-this.remove=function(k){
-if(k in _2&&!_3[k]){
-delete _2[k];
-this.count--;
-return true;
-}
-return false;
-};
-if(_1){
-var e=_1.getIterator();
-while(e.get()){
-this.add(e.element.key,e.element.value);
-}
-}
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/Queue.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/Queue.js b/components/camel-web/src/main/webapp/js/dojox/collections/Queue.js
deleted file mode 100644
index fde50aa..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/Queue.js
+++ /dev/null
@@ -1,57 +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["dojox.collections.Queue"]){
-dojo._hasResource["dojox.collections.Queue"]=true;
-dojo.provide("dojox.collections.Queue");
-dojo.require("dojox.collections._base");
-dojox.collections.Queue=function(_1){
-var q=[];
-if(_1){
-q=q.concat(_1);
-}
-this.count=q.length;
-this.clear=function(){
-q=[];
-this.count=q.length;
-};
-this.clone=function(){
-return new dojox.collections.Queue(q);
-};
-this.contains=function(o){
-for(var i=0;i<q.length;i++){
-if(q[i]==o){
-return true;
-}
-}
-return false;
-};
-this.copyTo=function(_5,i){
-_5.splice(i,0,q);
-};
-this.dequeue=function(){
-var r=q.shift();
-this.count=q.length;
-return r;
-};
-this.enqueue=function(o){
-this.count=q.push(o);
-};
-this.forEach=function(fn,_a){
-dojo.forEach(q,fn,_a);
-};
-this.getIterator=function(){
-return new dojox.collections.Iterator(q);
-};
-this.peek=function(){
-return q[0];
-};
-this.toArray=function(){
-return [].concat(q);
-};
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/README
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/README b/components/camel-web/src/main/webapp/js/dojox/collections/README
deleted file mode 100644
index 4f68fe8..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/README
+++ /dev/null
@@ -1,39 +0,0 @@
--------------------------------------------------------------------------------
-DojoX Collections
--------------------------------------------------------------------------------
-Version 0.9
-Release date: 05/27/2007
--------------------------------------------------------------------------------
-Project state: production
--------------------------------------------------------------------------------
-Project authors
-	Tom Trenka (ttrenka@gmail.com)
--------------------------------------------------------------------------------
-Project description
-
-DojoX Collections is the port of the original Dojo 0.4.x collection classes.
-It is intended for use by people who are looking for a little bit more 
-functionality out of common collections, like ArrayLists or Dictionaries.
-
-Included are the Iterator and DictionaryIterator classes, both of which can
-operate on standard arrays and objects (respectively).
--------------------------------------------------------------------------------
-Dependencies:
-
-DojoX Collections has no dependencies, outside of Dojo Core.
--------------------------------------------------------------------------------
-Documentation
-
-See the API documentation for Dojo (http://dojotoolkit.org/api).
--------------------------------------------------------------------------------
-Installation instructions
-
-Grab the following from the Dojo SVN Repository:
-http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/collections.js
-http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/collections/*
-
-Install into the following directory structure:
-/dojox/collections/
-
-...which should be at the same level as your Dojo checkout.
--------------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/Set.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/Set.js b/components/camel-web/src/main/webapp/js/dojox/collections/Set.js
deleted file mode 100644
index 47218bb..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/Set.js
+++ /dev/null
@@ -1,84 +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["dojox.collections.Set"]){
-dojo._hasResource["dojox.collections.Set"]=true;
-dojo.provide("dojox.collections.Set");
-dojo.require("dojox.collections.ArrayList");
-(function(){
-var _1=dojox.collections;
-_1.Set=new (function(){
-function _2(_3){
-if(_3.constructor==Array){
-return new dojox.collections.ArrayList(_3);
-}
-return _3;
-};
-this.union=function(_4,_5){
-_4=_2(_4);
-_5=_2(_5);
-var _6=new dojox.collections.ArrayList(_4.toArray());
-var e=_5.getIterator();
-while(!e.atEnd()){
-var _8=e.get();
-if(!_6.contains(_8)){
-_6.add(_8);
-}
-}
-return _6;
-};
-this.intersection=function(_9,_a){
-_9=_2(_9);
-_a=_2(_a);
-var _b=new dojox.collections.ArrayList();
-var e=_a.getIterator();
-while(!e.atEnd()){
-var _d=e.get();
-if(_9.contains(_d)){
-_b.add(_d);
-}
-}
-return _b;
-};
-this.difference=function(_e,_f){
-_e=_2(_e);
-_f=_2(_f);
-var _10=new dojox.collections.ArrayList();
-var e=_e.getIterator();
-while(!e.atEnd()){
-var _12=e.get();
-if(!_f.contains(_12)){
-_10.add(_12);
-}
-}
-return _10;
-};
-this.isSubSet=function(_13,_14){
-_13=_2(_13);
-_14=_2(_14);
-var e=_13.getIterator();
-while(!e.atEnd()){
-if(!_14.contains(e.get())){
-return false;
-}
-}
-return true;
-};
-this.isSuperSet=function(_16,_17){
-_16=_2(_16);
-_17=_2(_17);
-var e=_17.getIterator();
-while(!e.atEnd()){
-if(!_16.contains(e.get())){
-return false;
-}
-}
-return true;
-};
-})();
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/SortedList.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/SortedList.js b/components/camel-web/src/main/webapp/js/dojox/collections/SortedList.js
deleted file mode 100644
index 6e2d831..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/SortedList.js
+++ /dev/null
@@ -1,161 +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["dojox.collections.SortedList"]){
-dojo._hasResource["dojox.collections.SortedList"]=true;
-dojo.provide("dojox.collections.SortedList");
-dojo.require("dojox.collections._base");
-dojox.collections.SortedList=function(_1){
-var _2=this;
-var _3={};
-var q=[];
-var _5=function(a,b){
-if(a.key>b.key){
-return 1;
-}
-if(a.key<b.key){
-return -1;
-}
-return 0;
-};
-var _8=function(){
-q=[];
-var e=_2.getIterator();
-while(!e.atEnd()){
-q.push(e.get());
-}
-q.sort(_5);
-};
-var _a={};
-this.count=q.length;
-this.add=function(k,v){
-if(!_3[k]){
-_3[k]=new dojox.collections.DictionaryEntry(k,v);
-this.count=q.push(_3[k]);
-q.sort(_5);
-}
-};
-this.clear=function(){
-_3={};
-q=[];
-this.count=q.length;
-};
-this.clone=function(){
-return new dojox.collections.SortedList(this);
-};
-this.contains=this.containsKey=function(k){
-if(_a[k]){
-return false;
-}
-return (_3[k]!=null);
-};
-this.containsValue=function(o){
-var e=this.getIterator();
-while(!e.atEnd()){
-var _10=e.get();
-if(_10.value==o){
-return true;
-}
-}
-return false;
-};
-this.copyTo=function(arr,i){
-var e=this.getIterator();
-var idx=i;
-while(!e.atEnd()){
-arr.splice(idx,0,e.get());
-idx++;
-}
-};
-this.entry=function(k){
-return _3[k];
-};
-this.forEach=function(fn,_17){
-dojo.forEach(q,fn,_17);
-};
-this.getByIndex=function(i){
-return q[i].valueOf();
-};
-this.getIterator=function(){
-return new dojox.collections.DictionaryIterator(_3);
-};
-this.getKey=function(i){
-return q[i].key;
-};
-this.getKeyList=function(){
-var arr=[];
-var e=this.getIterator();
-while(!e.atEnd()){
-arr.push(e.get().key);
-}
-return arr;
-};
-this.getValueList=function(){
-var arr=[];
-var e=this.getIterator();
-while(!e.atEnd()){
-arr.push(e.get().value);
-}
-return arr;
-};
-this.indexOfKey=function(k){
-for(var i=0;i<q.length;i++){
-if(q[i].key==k){
-return i;
-}
-}
-return -1;
-};
-this.indexOfValue=function(o){
-for(var i=0;i<q.length;i++){
-if(q[i].value==o){
-return i;
-}
-}
-return -1;
-};
-this.item=function(k){
-if(k in _3&&!_a[k]){
-return _3[k].valueOf();
-}
-return undefined;
-};
-this.remove=function(k){
-delete _3[k];
-_8();
-this.count=q.length;
-};
-this.removeAt=function(i){
-delete _3[q[i].key];
-_8();
-this.count=q.length;
-};
-this.replace=function(k,v){
-if(!_3[k]){
-this.add(k,v);
-return false;
-}else{
-_3[k]=new dojox.collections.DictionaryEntry(k,v);
-_8();
-return true;
-}
-};
-this.setByIndex=function(i,o){
-_3[q[i].key].value=o;
-_8();
-this.count=q.length;
-};
-if(_1){
-var e=_1.getIterator();
-while(!e.atEnd()){
-var _2a=e.get();
-q[q.length]=_3[_2a.key]=new dojox.collections.DictionaryEntry(_2a.key,_2a.value);
-}
-q.sort(_5);
-}
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/Stack.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/Stack.js b/components/camel-web/src/main/webapp/js/dojox/collections/Stack.js
deleted file mode 100644
index 51c86ac..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/Stack.js
+++ /dev/null
@@ -1,57 +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["dojox.collections.Stack"]){
-dojo._hasResource["dojox.collections.Stack"]=true;
-dojo.provide("dojox.collections.Stack");
-dojo.require("dojox.collections._base");
-dojox.collections.Stack=function(_1){
-var q=[];
-if(_1){
-q=q.concat(_1);
-}
-this.count=q.length;
-this.clear=function(){
-q=[];
-this.count=q.length;
-};
-this.clone=function(){
-return new dojox.collections.Stack(q);
-};
-this.contains=function(o){
-for(var i=0;i<q.length;i++){
-if(q[i]==o){
-return true;
-}
-}
-return false;
-};
-this.copyTo=function(_5,i){
-_5.splice(i,0,q);
-};
-this.forEach=function(fn,_8){
-dojo.forEach(q,fn,_8);
-};
-this.getIterator=function(){
-return new dojox.collections.Iterator(q);
-};
-this.peek=function(){
-return q[(q.length-1)];
-};
-this.pop=function(){
-var r=q.pop();
-this.count=q.length;
-return r;
-};
-this.push=function(o){
-this.count=q.push(o);
-};
-this.toArray=function(){
-return [].concat(q);
-};
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/collections/_base.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/collections/_base.js b/components/camel-web/src/main/webapp/js/dojox/collections/_base.js
deleted file mode 100644
index 6c4860a..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/collections/_base.js
+++ /dev/null
@@ -1,71 +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["dojox.collections._base"]){
-dojo._hasResource["dojox.collections._base"]=true;
-dojo.provide("dojox.collections._base");
-dojox.collections.DictionaryEntry=function(k,v){
-this.key=k;
-this.value=v;
-this.valueOf=function(){
-return this.value;
-};
-this.toString=function(){
-return String(this.value);
-};
-};
-dojox.collections.Iterator=function(_3){
-var a=_3;
-var _5=0;
-this.element=a[_5]||null;
-this.atEnd=function(){
-return (_5>=a.length);
-};
-this.get=function(){
-if(this.atEnd()){
-return null;
-}
-this.element=a[_5++];
-return this.element;
-};
-this.map=function(fn,_7){
-return dojo.map(a,fn,_7);
-};
-this.reset=function(){
-_5=0;
-this.element=a[_5];
-};
-};
-dojox.collections.DictionaryIterator=function(_8){
-var a=[];
-var _a={};
-for(var p in _8){
-if(!_a[p]){
-a.push(_8[p]);
-}
-}
-var _c=0;
-this.element=a[_c]||null;
-this.atEnd=function(){
-return (_c>=a.length);
-};
-this.get=function(){
-if(this.atEnd()){
-return null;
-}
-this.element=a[_c++];
-return this.element;
-};
-this.map=function(fn,_e){
-return dojo.map(a,fn,_e);
-};
-this.reset=function(){
-_c=0;
-this.element=a[_c];
-};
-};
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/color.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/color.js b/components/camel-web/src/main/webapp/js/dojox/color.js
deleted file mode 100644
index 2af5f8c..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/color.js
+++ /dev/null
@@ -1,12 +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["dojox.color"]){
-dojo._hasResource["dojox.color"]=true;
-dojo.provide("dojox.color");
-dojo.require("dojox.color._base");
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/color/Colorspace.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/color/Colorspace.js b/components/camel-web/src/main/webapp/js/dojox/color/Colorspace.js
deleted file mode 100644
index 08c6131..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/color/Colorspace.js
+++ /dev/null
@@ -1,472 +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["dojox.color.Colorspace"]){
-dojo._hasResource["dojox.color.Colorspace"]=true;
-dojo.provide("dojox.color.Colorspace");
-dojo.require("dojox.math.matrix");
-dojox.color.Colorspace=new (function(){
-var _1=dojox.color;
-var _2=dojox.math.matrix;
-var _3=this;
-var _4={"2":{"E":{x:1/3,y:1/3,t:5400},"D50":{x:0.34567,y:0.3585,t:5000},"D55":{x:0.33242,y:0.34743,t:5500},"D65":{x:0.31271,y:0.32902,t:6500},"D75":{x:0.29902,y:0.31485,t:7500},"A":{x:0.44757,y:0.40745,t:2856},"B":{x:0.34842,y:0.35161,t:4874},"C":{x:0.31006,y:0.31616,t:6774},"9300":{x:0.2848,y:0.2932,t:9300},"F2":{x:0.37207,y:0.37512,t:4200},"F7":{x:0.31285,y:0.32918,t:6500},"F11":{x:0.38054,y:0.37691,t:4000}},"10":{"E":{x:1/3,y:1/3,t:5400},"D50":{x:0.34773,y:0.35952,t:5000},"D55":{x:0.33411,y:0.34877,t:5500},"D65":{x:0.31382,y:0.331,t:6500},"D75":{x:0.29968,y:0.3174,t:7500},"A":{x:0.45117,y:0.40594,t:2856},"B":{x:0.3498,y:0.3527,t:4874},"C":{x:0.31039,y:0.31905,t:6774},"F2":{x:0.37928,y:0.36723,t:4200},"F7":{x:0.31565,y:0.32951,t:6500},"F11":{x:0.38543,y:0.3711,t:4000}}};
-var _5={"Adobe RGB 98":[2.2,"D65",0.64,0.33,0.297361,0.21,0.71,0.627355,0.15,0.06,0.075285],"Apple RGB":[1.8,"D65",0.625,0.34,0.244634,0.28,0.595,0.672034,0.155,0.07,0.083332],"Best RGB":[2.2,"D50",0.7347,0.2653,0.228457,0.215,0.775,0.737352,0.13,0.035,0.034191],"Beta RGB":[2.2,"D50",0.6888,0.3112,0.303273,0.1986,0.7551,0.663786,0.1265,0.0352,0.032941],"Bruce RGB":[2.2,"D65",0.64,0.33,0.240995,0.28,0.65,0.683554,0.15,0.06,0.075452],"CIE RGB":[2.2,"E",0.735,0.265,0.176204,0.274,0.717,0.812985,0.167,0.009,0.010811],"ColorMatch RGB":[1.8,"D50",0.63,0.34,0.274884,0.295,0.605,0.658132,0.15,0.075,0.066985],"DON RGB 4":[2.2,"D50",0.696,0.3,0.27835,0.215,0.765,0.68797,0.13,0.035,0.03368],"ECI RGB":[1.8,"D50",0.67,0.33,0.32025,0.21,0.71,0.602071,0.14,0.08,0.077679],"EktaSpace PS5":[2.2,"D50",0.695,0.305,0.260629,0.26,0.7,0.734946,0.11,0.005,0.004425],"NTSC RGB":[2.2,"C",0.67,0.33,0.298839,0.21,0.71,0.586811,0.14,0.08,0.11435],"PAL/SECAM RGB":[2.2,"D65",0.64,0.33,0.222021,0.29,0.6,0.706645,0.
 15,0.06,0.071334],"Pro Photo RGB":[1.8,"D50",0.7347,0.2653,0.28804,0.1596,0.8404,0.711874,0.0366,0.0001,0.000086],"SMPTE/C RGB":[2.2,"D65",0.63,0.34,0.212395,0.31,0.595,0.701049,0.155,0.07,0.086556],"sRGB":[2.2,"D65",0.64,0.33,0.212656,0.3,0.6,0.715158,0.15,0.06,0.072186],"Wide Gamut RGB":[2.2,"D50",0.735,0.265,0.258187,0.115,0.826,0.724938,0.157,0.018,0.016875]};
-var _6={"XYZ scaling":{ma:[[1,0,0],[0,1,0],[0,0,1]],mai:[[1,0,0],[0,1,0],[0,0,1]]},"Bradford":{ma:[[0.8951,-0.7502,0.0389],[0.2664,1.7135,-0.0685],[-0.1614,0.0367,1.0296]],mai:[[0.986993,0.432305,-0.008529],[-0.147054,0.51836,0.040043],[0.159963,0.049291,0.968487]]},"Von Kries":{ma:[[0.40024,-0.2263,0],[0.7076,1.16532,0],[-0.08081,0.0457,0.91822]],mai:[[1.859936,0.361191,0],[-1.129382,0.638812,0],[0.219897,-0.000006,1.089064]]}};
-var _7={"XYZ":{"xyY":function(_8,_9){
-_9=dojo.mixin({whitepoint:"D65",observer:"10",useApproximation:true},_9||{});
-var wp=_3.whitepoint(_9.whitepoint,_9.observer);
-var _b=_8.X+_8.Y+_8.Z;
-if(_b==0){
-var x=wp.x,y=wp.y;
-}else{
-var x=_8.X/_b,y=_8.Y/_b;
-}
-return {x:x,y:y,Y:_8.Y};
-},"Lab":function(_e,_f){
-_f=dojo.mixin({whitepoint:"D65",observer:"10",useApproximation:true},_f||{});
-var _10=_3.kappa(_f.useApproximation),_11=_3.epsilon(_f.useApproximation);
-var wp=_3.whitepoint(_f.whitepoint,_f.observer);
-var xr=_e.X/wp.x,yr=_e.Y/wp.y,zr=_e.z/wp.z;
-var fx=(xr>_11)?Math.pow(xr,1/3):(_10*xr+16)/116;
-var fy=(yr>_11)?Math.pow(yr,1/3):(_10*yr+16)/116;
-var fz=(zr>_11)?Math.pow(zr,1/3):(_10*zr+16)/116;
-var L=116*fy-16,a=500*(fx-fy),b=200*(fy-fz);
-return {L:L,a:a,b:b};
-},"Luv":function(xyz,_1d){
-_1d=dojo.mixin({whitepoint:"D65",observer:"10",useApproximation:true},_1d||{});
-var _1e=_3.kappa(_1d.useApproximation),_1f=_3.epsilon(_1d.useApproximation);
-var wp=_3.whitepoint(_1d.whitepoint,_1d.observer);
-var ud=(4*xyz.X)/(xyz.X+15*xyz.Y+3*xyz.Z);
-var vd=(9*xyz.Y)/(xyz.X+15*xyz.Y+3*xyz.Z);
-var udr=(4*wp.x)/(wp.x+15*wp.y+3*wp.z);
-var vdr=(9*wp.y)/(wp.x+15*wp.y+3*wp.z);
-var yr=xyz.Y/wp.y;
-var L=(yr>_1f)?116*Math.pow(yr,1/3)-16:_1e*yr;
-var u=13*L*(ud-udr);
-var v=13*L*(vd-vdr);
-return {L:L,u:u,v:v};
-}},"xyY":{"XYZ":function(xyY){
-if(xyY.y==0){
-var X=0,Y=0,Z=0;
-}else{
-var X=(xyY.x*xyY.Y)/xyY.y;
-var Y=xyY.Y;
-var Z=((1-xyY.x-xyY.y)*xyY.Y)/xyY.y;
-}
-return {X:X,Y:Y,Z:Z};
-}},"Lab":{"XYZ":function(lab,_2e){
-_2e=dojo.mixin({whitepoint:"D65",observer:"10",useApproximation:true},_2e||{});
-var b=_2e.useApproximation,_30=_3.kappa(b),_31=_3.epsilon(b);
-var wp=_3.whitepoint(_2e.whitepoint,_2e.observer);
-var yr=(lab.L>(_30*_31))?Math.pow((lab.L+16)/116,3):lab.L/_30;
-var fy=(yr>_31)?(lab.L+16)/116:(_30*yr+16)/116;
-var fx=(lab.a/500)+fy;
-var fz=fy-(lab.b/200);
-var _37=Math.pow(fx,3),_38=Math.pow(fz,3);
-var xr=(_37>_31)?_37:(116*fx-16)/_30;
-var zr=(_38>_31)?_38:(116*fz-16)/_30;
-return {X:xr*wp.x,Y:yr*wp.y,Z:zr*wp.z};
-},"LCHab":function(lab){
-var L=lab.L,C=Math.pow(lab.a*lab.a+lab.b*lab.b,0.5),H=Math.atan(lab.b,lab.a)*(180/Math.PI);
-if(H<0){
-H+=360;
-}
-if(H<360){
-H-=360;
-}
-return {L:L,C:C,H:H};
-}},"LCHab":{"Lab":function(lch){
-var _40=lch.H*(Math.PI/180),L=lch.L,a=lch.C/Math.pow(Math.pow(Math.tan(_40),2)+1,0.5);
-if(90<lchH&&lch.H<270){
-a=-a;
-}
-var b=Math.pow(Math.pow(lch.C,2)-Math.pow(a,2),0.5);
-if(lch.H>180){
-b=-b;
-}
-return {L:L,a:a,b:b};
-}},"Luv":{"XYZ":function(Luv,_45){
-_45=dojo.mixin({whitepoint:"D65",observer:"10",useApproximation:true},_45||{});
-var b=_45.useApproximation,_47=_3.kappa(b),_48=_3.epsilon(b);
-var wp=_3.whitepoint(_45.whitepoint,_45.observer);
-var uz=(4*wp.x)/(wp.x+15*wp.y+3*wp.z);
-var vz=(9*wp.y)/(wp.x+15*wp.y+3*wp.z);
-var Y=(Luv.L>_47*_48)?Math.pow((Luv.L+16)/116,3):Luv.L/_47;
-var a=(1/3)*(((52*Luv.L)/(Luv.u+13*Luv.L*uz))-1);
-var b=-5*Y,c=-(1/3),d=Y*(((39*Luv.L)/(Luv.v+13*Luv.L*vz))-5);
-var X=(d-b)/(a-c),Z=X*a+b;
-return {X:X,Y:Y,Z:Z};
-},"LCHuv":function(Luv){
-var L=Luv.L,C=Math.pow(Luv.u*Luv.u+Luv.v*Luv*v,0.5),H=Math.atan(Luv.v,Luv.u)*(180/Math.PI);
-if(H<0){
-H+=360;
-}
-if(H>360){
-H-=360;
-}
-return {L:L,C:C,H:H};
-}},"LCHuv":{"Luv":function(LCH){
-var _57=LCH.H*(Math.PI/180);
-var L=LCH.L,u=LCH.C/Math.pow(Math.pow(Math.tan(_57),2)+1,0.5);
-var v=Math.pow(LCH.C*LCH.C-u*u,0.5);
-if(90<LCH.H&&LCH.H>270){
-u*=-1;
-}
-if(LCH.H>180){
-v*=-1;
-}
-return {L:L,u:u,v:v};
-}}};
-var _5b={"CMY":{"CMYK":function(obj,_5d){
-return _1.fromCmy(obj).toCmyk();
-},"HSL":function(obj,_5f){
-return _1.fromCmy(obj).toHsl();
-},"HSV":function(obj,_61){
-return _1.fromCmy(obj).toHsv();
-},"Lab":function(obj,_63){
-return _7["XYZ"]["Lab"](_1.fromCmy(obj).toXYZ(_63));
-},"LCHab":function(obj,_65){
-return _7["Lab"]["LCHab"](_5b["CMY"]["Lab"](obj));
-},"LCHuv":function(obj,_67){
-return _7["LCHuv"]["Luv"](_7["Luv"]["XYZ"](_1.fromCmy(obj).toXYZ(_67)));
-},"Luv":function(obj,_69){
-return _7["Luv"]["XYZ"](_1.fromCmy(obj).toXYZ(_69));
-},"RGB":function(obj,_6b){
-return _1.fromCmy(obj);
-},"XYZ":function(obj,_6d){
-return _1.fromCmy(obj).toXYZ(_6d);
-},"xyY":function(obj,_6f){
-return _7["XYZ"]["xyY"](_1.fromCmy(obj).toXYZ(_6f));
-}},"CMYK":{"CMY":function(obj,_71){
-return _1.fromCmyk(obj).toCmy();
-},"HSL":function(obj,_73){
-return _1.fromCmyk(obj).toHsl();
-},"HSV":function(obj,_75){
-return _1.fromCmyk(obj).toHsv();
-},"Lab":function(obj,_77){
-return _7["XYZ"]["Lab"](_1.fromCmyk(obj).toXYZ(_77));
-},"LCHab":function(obj,_79){
-return _7["Lab"]["LCHab"](_5b["CMYK"]["Lab"](obj));
-},"LCHuv":function(obj,_7b){
-return _7["LCHuv"]["Luv"](_7["Luv"]["XYZ"](_1.fromCmyk(obj).toXYZ(_7b)));
-},"Luv":function(obj,_7d){
-return _7["Luv"]["XYZ"](_1.fromCmyk(obj).toXYZ(_7d));
-},"RGB":function(obj,_7f){
-return _1.fromCmyk(obj);
-},"XYZ":function(obj,_81){
-return _1.fromCmyk(obj).toXYZ(_81);
-},"xyY":function(obj,_83){
-return _7["XYZ"]["xyY"](_1.fromCmyk(obj).toXYZ(_83));
-}},"HSL":{"CMY":function(obj,_85){
-return _1.fromHsl(obj).toCmy();
-},"CMYK":function(obj,_87){
-return _1.fromHsl(obj).toCmyk();
-},"HSV":function(obj,_89){
-return _1.fromHsl(obj).toHsv();
-},"Lab":function(obj,_8b){
-return _7["XYZ"]["Lab"](_1.fromHsl(obj).toXYZ(_8b));
-},"LCHab":function(obj,_8d){
-return _7["Lab"]["LCHab"](_5b["CMYK"]["Lab"](obj));
-},"LCHuv":function(obj,_8f){
-return _7["LCHuv"]["Luv"](_7["Luv"]["XYZ"](_1.fromHsl(obj).toXYZ(_8f)));
-},"Luv":function(obj,_91){
-return _7["Luv"]["XYZ"](_1.fromHsl(obj).toXYZ(_91));
-},"RGB":function(obj,_93){
-return _1.fromHsl(obj);
-},"XYZ":function(obj,_95){
-return _1.fromHsl(obj).toXYZ(_95);
-},"xyY":function(obj,_97){
-return _7["XYZ"]["xyY"](_1.fromHsl(obj).toXYZ(_97));
-}},"HSV":{"CMY":function(obj,_99){
-return _1.fromHsv(obj).toCmy();
-},"CMYK":function(obj,_9b){
-return _1.fromHsv(obj).toCmyk();
-},"HSL":function(obj,_9d){
-return _1.fromHsv(obj).toHsl();
-},"Lab":function(obj,_9f){
-return _7["XYZ"]["Lab"](_1.fromHsv(obj).toXYZ(_9f));
-},"LCHab":function(obj,_a1){
-return _7["Lab"]["LCHab"](_5b["CMYK"]["Lab"](obj));
-},"LCHuv":function(obj,_a3){
-return _7["LCHuv"]["Luv"](_7["Luv"]["XYZ"](_1.fromHsv(obj).toXYZ(_a3)));
-},"Luv":function(obj,_a5){
-return _7["Luv"]["XYZ"](_1.fromHsv(obj).toXYZ(_a5));
-},"RGB":function(obj,_a7){
-return _1.fromHsv(obj);
-},"XYZ":function(obj,_a9){
-return _1.fromHsv(obj).toXYZ(_a9);
-},"xyY":function(obj,_ab){
-return _7["XYZ"]["xyY"](_1.fromHsv(obj).toXYZ(_ab));
-}},"Lab":{"CMY":function(obj,_ad){
-return _1.fromXYZ(_7["Lab"]["XYZ"](obj,_ad)).toCmy();
-},"CMYK":function(obj,_af){
-return _1.fromXYZ(_7["Lab"]["XYZ"](obj,_af)).toCmyk();
-},"HSL":function(obj,_b1){
-return _1.fromXYZ(_7["Lab"]["XYZ"](obj,_b1)).toHsl();
-},"HSV":function(obj,_b3){
-return _1.fromXYZ(_7["Lab"]["XYZ"](obj,_b3)).toHsv();
-},"LCHab":function(obj,_b5){
-return _7["Lab"]["LCHab"](obj,_b5);
-},"LCHuv":function(obj,_b7){
-return _7["Luv"]["LCHuv"](_7["Lab"]["XYZ"](obj,_b7),_b7);
-},"Luv":function(obj,_b9){
-return _7["XYZ"]["Luv"](_7["Lab"]["XYZ"](obj,_b9),_b9);
-},"RGB":function(obj,_bb){
-return _1.fromXYZ(_7["Lab"]["XYZ"](obj,_bb));
-},"XYZ":function(obj,_bd){
-return _7["Lab"]["XYZ"](obj,_bd);
-},"xyY":function(obj,_bf){
-return _7["XYZ"]["xyY"](_7["Lab"]["XYZ"](obj,_bf),_bf);
-}},"LCHab":{"CMY":function(obj,_c1){
-return _1.fromXYZ(_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_c1),_c1).toCmy();
-},"CMYK":function(obj,_c3){
-return _1.fromXYZ(_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_c3),_c3).toCmyk();
-},"HSL":function(obj,_c5){
-return _1.fromXYZ(_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_c5),_c5).toHsl();
-},"HSV":function(obj,_c7){
-return _1.fromXYZ(_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_c7),_c7).toHsv();
-},"Lab":function(obj,_c9){
-return _7["Lab"]["LCHab"](obj,_c9);
-},"LCHuv":function(obj,_cb){
-return _7["Luv"]["LCHuv"](_7["XYZ"]["Luv"](_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_cb),_cb),_cb);
-},"Luv":function(obj,_cd){
-return _7["XYZ"]["Luv"](_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_cd),_cd);
-},"RGB":function(obj,_cf){
-return _1.fromXYZ(_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_cf),_cf);
-},"XYZ":function(obj,_d1){
-return _7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj,_d1),_d1);
-},"xyY":function(obj,_d3){
-return _7["XYZ"]["xyY"](_7["Lab"]["XYZ"](_7["LCHab"]["Lab"](obj),_d3),_d3);
-}},"LCHuv":{"CMY":function(obj,_d5){
-return _1.fromXYZ(_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_d5),_d5).toCmy();
-},"CMYK":function(obj,_d7){
-return _1.fromXYZ(_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_d7),_d7).toCmyk();
-},"HSL":function(obj,_d9){
-return _1.fromXYZ(_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_d9),_d9).toHsl();
-},"HSV":function(obj,_db){
-return _1.fromXYZ(_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_db),_db).toHsv();
-},"Lab":function(obj,_dd){
-return _7["XYZ"]["Lab"](_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_dd),_dd);
-},"LCHab":function(obj,_df){
-return _7["Lab"]["LCHab"](_7["XYZ"]["Lab"](_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_df),_df),_df);
-},"Luv":function(obj,_e1){
-return _7["LCHuv"]["Luv"](obj,_e1);
-},"RGB":function(obj,_e3){
-return _1.fromXYZ(_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_e3),_e3);
-},"XYZ":function(obj,_e5){
-return _7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_e5);
-},"xyY":function(obj,_e7){
-return _7["XYZ"]["xyY"](_7["Luv"]["XYZ"](_7["LCHuv"]["Luv"](obj),_e7),_e7);
-}},"Luv":{"CMY":function(obj,_e9){
-return _1.fromXYZ(_7["Luv"]["XYZ"](obj,_e9),_e9).toCmy();
-},"CMYK":function(obj,_eb){
-return _1.fromXYZ(_7["Luv"]["XYZ"](obj,_eb),_eb).toCmyk();
-},"HSL":function(obj,_ed){
-return _1.fromXYZ(_7["Luv"]["XYZ"](obj,_ed),_ed).toHsl();
-},"HSV":function(obj,_ef){
-return _1.fromXYZ(_7["Luv"]["XYZ"](obj,_ef),_ef).toHsv();
-},"Lab":function(obj,_f1){
-return _7["XYZ"]["Lab"](_7["Luv"]["XYZ"](obj,_f1),_f1);
-},"LCHab":function(obj,_f3){
-return _7["Lab"]["LCHab"](_7["XYZ"]["Lab"](_7["Luv"]["XYZ"](obj,_f3),_f3),_f3);
-},"LCHuv":function(obj,_f5){
-return _7["Luv"]["LCHuv"](obj,_f5);
-},"RGB":function(obj,_f7){
-return _1.fromXYZ(_7["Luv"]["XYZ"](obj,_f7),_f7);
-},"XYZ":function(obj,_f9){
-return _7["Luv"]["XYZ"](obj,_f9);
-},"xyY":function(obj,_fb){
-return _7["XYZ"]["xyY"](_7["Luv"]["XYZ"](obj,_fb),_fb);
-}},"RGB":{"CMY":function(obj,_fd){
-return obj.toCmy();
-},"CMYK":function(obj,_ff){
-return obj.toCmyk();
-},"HSL":function(obj,_101){
-return obj.toHsl();
-},"HSV":function(obj,_103){
-return obj.toHsv();
-},"Lab":function(obj,_105){
-return _7["XYZ"]["Lab"](obj.toXYZ(_105),_105);
-},"LCHab":function(obj,_107){
-return _7["LCHab"]["Lab"](_7["XYZ"]["Lab"](obj.toXYZ(_107),_107),_107);
-},"LCHuv":function(obj,_109){
-return _7["LCHuv"]["Luv"](_7["XYZ"]["Luv"](obj.toXYZ(_109),_109),_109);
-},"Luv":function(obj,_10b){
-return _7["XYZ"]["Luv"](obj.toXYZ(_10b),_10b);
-},"XYZ":function(obj,_10d){
-return obj.toXYZ(_10d);
-},"xyY":function(obj,_10f){
-return _7["XYZ"]["xyY"](obj.toXYZ(_10f),_10f);
-}},"XYZ":{"CMY":function(obj,_111){
-return _1.fromXYZ(obj,_111).toCmy();
-},"CMYK":function(obj,_113){
-return _1.fromXYZ(obj,_113).toCmyk();
-},"HSL":function(obj,_115){
-return _1.fromXYZ(obj,_115).toHsl();
-},"HSV":function(obj,_117){
-return _1.fromXYZ(obj,_117).toHsv();
-},"Lab":function(obj,_119){
-return _7["XYZ"]["Lab"](obj,_119);
-},"LCHab":function(obj,_11b){
-return _7["Lab"]["LCHab"](_7["XYZ"]["Lab"](obj,_11b),_11b);
-},"LCHuv":function(obj,_11d){
-return _7["Luv"]["LCHuv"](_7["XYZ"]["Luv"](obj,_11d),_11d);
-},"Luv":function(obj,_11f){
-return _7["XYZ"]["Luv"](obj,_11f);
-},"RGB":function(obj,_121){
-return _1.fromXYZ(obj,_121);
-},"xyY":function(obj,_123){
-return _7["XYZ"]["xyY"](_1.fromXYZ(obj,_123),_123);
-}},"xyY":{"CMY":function(obj,_125){
-return _1.fromXYZ(_7["xyY"]["XYZ"](obj,_125),_125).toCmy();
-},"CMYK":function(obj,_127){
-return _1.fromXYZ(_7["xyY"]["XYZ"](obj,_127),_127).toCmyk();
-},"HSL":function(obj,_129){
-return _1.fromXYZ(_7["xyY"]["XYZ"](obj,_129),_129).toHsl();
-},"HSV":function(obj,_12b){
-return _1.fromXYZ(_7["xyY"]["XYZ"](obj,_12b),_12b).toHsv();
-},"Lab":function(obj,_12d){
-return _7["Lab"]["XYZ"](_7["xyY"]["XYZ"](obj,_12d),_12d);
-},"LCHab":function(obj,_12f){
-return _7["LCHab"]["Lab"](_7["Lab"]["XYZ"](_7["xyY"]["XYZ"](obj,_12f),_12f),_12f);
-},"LCHuv":function(obj,_131){
-return _7["LCHuv"]["Luv"](_7["Luv"]["XYZ"](_7["xyY"]["XYZ"](obj,_131),_131),_131);
-},"Luv":function(obj,_133){
-return _7["Luv"]["XYZ"](_7["xyY"]["XYZ"](obj,_133),_133);
-},"RGB":function(obj,_135){
-return _1.fromXYZ(_7["xyY"]["XYZ"](obj,_135),_135);
-},"XYZ":function(obj,_137){
-return _7["xyY"]["XYZ"](obj,_137);
-}}};
-this.whitepoint=function(_138,_139){
-_139=_139||"10";
-var x=0,y=0,t=0;
-if(_4[_139]&&_4[_139][_138]){
-x=_4[_139][_138].x;
-y=_4[_139][_138].y;
-t=_4[_139][_138].t;
-}else{
-console.warn("dojox.color.Colorspace::whitepoint: either the observer or the whitepoint name was not found. ",_139,_138);
-}
-var wp={x:x,y:y,z:(1-x-y),t:t,Y:1};
-return this.convert(wp,"xyY","XYZ");
-};
-this.tempToWhitepoint=function(t){
-if(t<4000){
-console.warn("dojox.color.Colorspace::tempToWhitepoint: can't find a white point for temperatures less than 4000K. (Passed ",t,").");
-return {x:0,y:0};
-}
-if(t>25000){
-console.warn("dojox.color.Colorspace::tempToWhitepoint: can't find a white point for temperatures greater than 25000K. (Passed ",t,").");
-return {x:0,y:0};
-}
-var t1=t,t2=t*t,t3=t2*t;
-var ten9=Math.pow(10,9),ten6=Math.pow(10,6),ten3=Math.pow(10,3);
-if(t<=7000){
-var x=(-4.607*ten9/t3)+(2.9678*ten6/t2)+(0.09911*ten3/t)+0.2444063;
-}else{
-var x=(-2.0064*ten9/t3)+(1.9018*ten6/t2)+(0.24748*ten3/t)+0.23704;
-}
-var y=-3*x*x+2.87*x-0.275;
-return {x:x,y:y};
-};
-this.primaries=function(_147){
-_147=dojo.mixin({profile:"sRGB",whitepoint:"D65",observer:"10",adaptor:"Bradford"},_147||{});
-var m=[];
-if(_5[_147.profile]){
-m=_5[_147.profile].slice(0);
-}else{
-console.warn("dojox.color.Colorspace::primaries: the passed profile was not found.  ","Available profiles include: ",_5,".  The profile passed was ",_147.profile);
-}
-var _149={name:_147.profile,gamma:m[0],whitepoint:m[1],xr:m[2],yr:m[3],Yr:m[4],xg:m[5],yg:m[6],Yg:m[7],xb:m[8],yb:m[9],Yb:m[10]};
-if(_147.whitepoint!=_149.whitepoint){
-var r=this.convert(this.adapt({color:this.convert({x:xr,y:yr,Y:Yr},"xyY","XYZ"),adaptor:_147.adaptor,source:_149.whitepoint,destination:_147.whitepoint}),"XYZ","xyY");
-var g=this.convert(this.adapt({color:this.convert({x:xg,y:yg,Y:Yg},"xyY","XYZ"),adaptor:_147.adaptor,source:_149.whitepoint,destination:_147.whitepoint}),"XYZ","xyY");
-var b=this.convert(this.adapt({color:this.convert({x:xb,y:yb,Y:Yb},"xyY","XYZ"),adaptor:_147.adaptor,source:_149.whitepoint,destination:_147.whitepoint}),"XYZ","xyY");
-_149=dojo.mixin(_149,{xr:r.x,yr:r.y,Yr:r.Y,xg:g.x,yg:g.y,Yg:g.Y,xb:b.x,yb:b.y,Yb:b.Y,whitepoint:_147.whitepoint});
-}
-return dojo.mixin(_149,{zr:1-_149.xr-_149.yr,zg:1-_149.xg-_149.yg,zb:1-_149.xb-_149.yb});
-};
-this.adapt=function(_14d){
-if(!_14d.color||!_14d.source){
-console.error("dojox.color.Colorspace::adapt: color and source arguments are required. ",_14d);
-}
-_14d=dojo.mixin({adaptor:"Bradford",destination:"D65"},_14d);
-var swp=this.whitepoint(_14d.source);
-var dwp=this.whitepoint(_14d.destination);
-if(_6[_14d.adaptor]){
-var ma=_6[_14d.adaptor].ma;
-var mai=_6[_14d.adaptor].mai;
-}else{
-console.warn("dojox.color.Colorspace::adapt: the passed adaptor '",_14d.adaptor,"' was not found.");
-}
-var dSrc=_2.multiply([[swp.x,swp.y,swp.z]],ma);
-var _153=_2.multiply([[dwp.x,dwp.y,dwp.z]],ma);
-var _154=[[_153[0][0]/dSrc[0][0],0,0],[0,_153[0][1]/dSrc[0][1],0],[0,0,_153[0][2]/dSrc[0][2]]];
-var m=_2.multiply(_2.multiply(ma,_154),mai);
-var r=_2.multiply([[_14d.color.X,_14d.color.Y,_14d.color.Z]],m)[0];
-return {X:r[0],Y:r[1],Z:r[2]};
-};
-this.matrix=function(to,_158){
-var wp=this.whitepoint(_158.whitepoint);
-var Xr=p.xr/p.yr,Yr=1,Zr=(1-p.xr-p.yr)/p.yr;
-var Xg=p.xg/p.yg,Yg=1,Zg=(1-p.xg-p.yg)/p.yg;
-var Xb=p.xb/p.yb,Yb=1,Zr=(1-p.xb-p.yb)/p.yb;
-var m1=[[Xr,Yr,Zr],[Xg,Yg,Zg],[Xb,Yb,Zb]];
-var m2=[[wp.X,wp.Y,wp.Z]];
-var sm=dojox.math.matrix.multiply(m2,dojox.math.matrix.inverse(m1));
-var Sr=sm[0][0],Sg=sm[0][1],Sb=sm[0][2];
-var _168=[[Sr*Xr,Sr*Yr,Sr*Zr],[Sg*Xg,Sg*Yg,Sg*Zg],[Sb*Xb,Sb*Yb,Sb*Zb]];
-if(to=="RGB"){
-return dojox.math.inverse(_168);
-}
-return _168;
-};
-this.epsilon=function(_169){
-return (_169||typeof (_169)=="undefined")?0.008856:216/24289;
-};
-this.kappa=function(_16a){
-return (_16a||typeof (_16a)=="undefined")?903.3:24389/27;
-};
-this.convert=function(_16b,from,to,_16e){
-if(_5b[from]&&_5b[from][to]){
-return _5b[from][to](obj,_16e);
-}
-console.warn("dojox.color.Colorspace::convert: Can't convert ",_16b," from ",from," to ",to,".");
-};
-})();
-dojo.mixin(dojox.color,{fromXYZ:function(xyz,_170){
-_170=_170||{};
-var p=dojox.color.Colorspace.primaries(_170);
-var m=dojox.color.Colorspace.matrix("RGB",p);
-var rgb=dojox.math.matrix.mutliply([[xyz.X,xyz.Y,xyz.Z]],m);
-var r=rgb[0][0],g=rgb[0][1],b=rgb[0][2];
-if(p.profile=="sRGB"){
-var R=(r>0.0031308)?(1.055*Math.pow(r,1/2.4))-0.055:12.92*r;
-var G=(g>0.0031308)?(1.055*Math.pow(g,1/2.4))-0.055:12.92*g;
-var B=(b>0.0031308)?(1.055*Math.pow(b,1/2.4))-0.055:12.92*b;
-}else{
-var R=Math.pow(r,1/p.gamma),G=Math.pow(g,1/p.gamma),B=Math.pow(b,1/p.gamma);
-}
-return new dojox.color.Color({r:Math.floor(R*255),g:Math.floor(G*255),b:Math.floor(B*255)});
-}});
-dojo.extend(dojox.color.Color,{toXYZ:function(_17a){
-_17a=_17a||{};
-var p=dojox.color.Colorspace.primaries(_17a);
-var m=dojox.color.Colorspace.matrix("XYZ",p);
-var _r=this.r/255,_g=this.g/255,_b=this.b/255;
-if(p.profile=="sRGB"){
-var r=(_r>0.04045)?Math.pow(((_r+0.055)/1.055),2.4):_r/12.92;
-var g=(_g>0.04045)?Math.pow(((_g+0.055)/1.055),2.4):_g/12.92;
-var b=(_b>0.04045)?Math.pow(((_b+0.055)/1.055),2.4):_b/12.92;
-}else{
-var r=Math.pow(_r,p.gamma),g=Math.pow(_g,p.gamma),b=Math.pow(_b,p.gamma);
-}
-var xyz=dojox.math.matrix([[r,g,b]],m);
-return {X:xyz[0][0],Y:xyz[0][1],Z:xyz[0][2]};
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/color/Generator.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/color/Generator.js b/components/camel-web/src/main/webapp/js/dojox/color/Generator.js
deleted file mode 100644
index b7bb907..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/color/Generator.js
+++ /dev/null
@@ -1,197 +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["dojox.color.Generator"]){
-dojo._hasResource["dojox.color.Generator"]=true;
-dojo.provide("dojox.color.Generator");
-dojo.deprecated("dojox.color.Generator",1.3);
-dojox.color.Generator=new (function(){
-var _1=dojox.color;
-var _2=function(_3){
-if(!_3){
-console.warn("dojox.color.Generator:: no base color was passed. ",_3);
-return null;
-}
-if(!_3.toHsv){
-_3=new _1.Color(_3);
-}
-return _3;
-};
-var _4=function(n,_6,_7){
-var _8=[],i,_a=(_6-_7)/n,_b=_6;
-for(i=0;i<n;i++,_b-=_a){
-_8.push(_b);
-}
-return _8;
-};
-var _c=function(_d,_e,_f){
-var c=_f.length-1,a=[],r,g,b;
-for(var i=0;i<_e;i++){
-if(i<_f.length){
-r=_d.r+(255-_d.r)*_f[i],g=_d.g+(255-_d.g)*_f[i],b=_d.b+(255-_d.b)*_f[i];
-a.push(new _1.Color({r:r,g:g,b:b}));
-}else{
-if(i==_f.length){
-a.push(_d);
-}else{
-if(c<0){
-c=_f.length-1;
-}
-r=_d.r*(1-_f[c]),g=_d.g*(1-_f[c]),b=_d.b*(1-_f[c--]);
-a.push(new _1.Color({r:r,g:g,b:b}));
-}
-}
-}
-return a;
-};
-var _16=function(_17,_18){
-var ret=[];
-for(var i=0;i<_17[0].length;i++){
-for(var j=0;j<_17.length;j++){
-ret.push(_17[j][i]);
-}
-}
-return ret.slice(0,_18);
-};
-this.analogous=function(_1c){
-_1c=dojo.mixin({series:4,num:32,angleHigh:30,angleLow:8,high:0.5,low:0.15},_1c||{});
-var _1d=_2(_1c.base,"analogous");
-if(!_1d){
-return [];
-}
-var num=_1c.num,hsv=_1d.toHsv();
-var _20=_1c.series+1,_21=Math.ceil(num/_20);
-var fs=_4(Math.floor(_21/2),_1c.high,_1c.low);
-var ang=[];
-var gen=Math.floor(_1c.series/2);
-for(var i=1;i<=gen;i++){
-var a=hsv.h+((_1c.angleLow*i)+1);
-if(a>=360){
-a-=360;
-}
-ang.push(a);
-}
-ang.push(0);
-for(i=1;i<=gen;i++){
-a=hsv.h-(_1c.angleHigh*i);
-if(a<0){
-a+=360;
-}
-ang.push(a);
-}
-var m=[],cur=0;
-for(i=0;i<_20;i++){
-m.push(_c(_1.fromHsv({h:ang[cur++],s:hsv.s,v:hsv.v}),_21,fs));
-}
-return _16(m,num);
-};
-this.monochromatic=function(_29){
-_29=dojo.mixin({num:32,high:0.5,low:0.15},_29||{});
-var _2a=_2(_29.base,"monochromatic");
-if(!_2a){
-return [];
-}
-var fs=_4(Math.floor(_29.num/2),_29.high,_29.low);
-var a=_c(_2a,_29.num,fs);
-return a;
-};
-this.triadic=function(_2d){
-_2d=dojo.mixin({num:32,high:0.5,low:0.15},_2d||{});
-var _2e=_2(_2d.base,"triadic");
-if(!_2e){
-return [];
-}
-var num=_2d.num,_30=3,_31=Math.ceil(num/_30),fs=_4(Math.floor(_31/2),_2d.high,_2d.low);
-var m=[],hsv=_2e.toHsv();
-var h1=hsv.h+57,h2=hsv.h-157;
-if(h1>360){
-h1-=360;
-}
-if(h2<0){
-h2+=360;
-}
-var s1=(hsv.s>=20)?hsv.s-10:hsv.s+10;
-var s2=(hsv.s>=95)?hsv.s-5:hsv.s+5;
-var v2=(hsv.v>=70)?hsv.v-30:hsv.v+30;
-m.push(_c(dojox.color.fromHsv({h:h1,s:s1,v:hsv.v}),_31,fs));
-m.push(_c(_2e,_31,fs));
-m.push(_c(dojox.color.fromHsv({h:h2,s:s2,v:v2}),_31,fs));
-return _16(m,num);
-};
-this.complementary=function(_3a){
-_3a=dojo.mixin({num:32,high:0.5,low:0.15},_3a||{});
-var _3b=_2(_3a.base,"complimentary");
-if(!_3b){
-return [];
-}
-var num=_3a.num,_3d=2,_3e=Math.ceil(num/_3d),fs=_4(Math.floor(_3e/2),_3a.high,_3a.low);
-var m=[],hsv=_3b.toHsv();
-var _42=(hsv.h+120)%360;
-m.push(_c(_3b,_3e,fs));
-m.push(_c(dojox.color.fromHsv({h:_42,s:hsv.s,v:hsv.v}),_3e,fs));
-return _16(m,num);
-};
-this.splitComplementary=function(_43){
-_43=dojo.mixin({num:32,angle:30,high:0.5,low:0.15},_43||{});
-var _44=_2(_43.base,"splitComplementary");
-if(!_44){
-return [];
-}
-var num=_43.num,_46=3,_47=Math.ceil(num/_46),fs=_4(Math.floor(_47/2),_43.high,_43.low);
-var m=[],hsv=_44.toHsv();
-var _4b=(hsv.h+120)%360;
-var _4c=_4b-_43.angle,_4d=(_4b+_43.angle)%360;
-if(_4c<0){
-_4c+=360;
-}
-m.push(_c(_44,_47,fs));
-m.push(_c(dojox.color.fromHsv({h:_4c,s:hsv.s,v:hsv.v}),_47,fs));
-m.push(_c(dojox.color.fromHsv({h:_4d,s:hsv.s,v:hsv.v}),_47,fs));
-return _16(m,num);
-};
-this.compound=function(_4e){
-_4e=dojo.mixin({num:32,angle:30,high:0.5,low:0.15},_4e||{});
-var _4f=_2(_4e.base,"compound");
-if(!_4f){
-return [];
-}
-var num=_4e.num,_51=4,_52=Math.ceil(num/_51),fs=_4(Math.floor(_52/2),_4e.high,_4e.low);
-var m=[],hsv=_4f.toHsv();
-var _56=(hsv.h+120)%360;
-var h1=(hsv.h+_4e.angle)%360,h2=_56-_4e.angle,h3=_56-(_4e.angle/2);
-if(h2<0){
-h2+=360;
-}
-if(h3<0){
-h3+=360;
-}
-var s1=(hsv.s>=90&&hsv.s<=100)?hsv.s-10:hsv.s+10;
-var s2=(hsv.s<=35)?hsv.s+25:hsv.s-25;
-var v1=hsv.v-20;
-var v2=hsv.v;
-m.push(_c(_4f,_52,fs));
-m.push(_c(dojox.color.fromHsv({h:h1,s:s1,v:v1}),_52,fs));
-m.push(_c(dojox.color.fromHsv({h:h2,s:s1,v:v1}),_52,fs));
-m.push(_c(dojox.color.fromHsv({h:h3,s:s2,v:v2}),_52,fs));
-return _16(m,num);
-};
-this.shades=function(_5e){
-_5e=dojo.mixin({num:32,high:1.5,low:0.5},_5e||{});
-var _5f=_2(_5e.base,"shades");
-if(!_5f){
-return [];
-}
-var num=_5e.num,hsv=_5f.toHsv();
-var _62=(_5e.high-_5e.low)/num,cur=_5e.low;
-var a=[];
-for(var i=0;i<num;i++,cur+=_62){
-a.push(_1.fromHsv({h:hsv.h,s:hsv.s,v:Math.min(Math.round(hsv.v*cur),100)}));
-}
-return a;
-};
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/color/Palette.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/color/Palette.js b/components/camel-web/src/main/webapp/js/dojox/color/Palette.js
deleted file mode 100644
index 76c739e..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/color/Palette.js
+++ /dev/null
@@ -1,175 +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["dojox.color.Palette"]){
-dojo._hasResource["dojox.color.Palette"]=true;
-dojo.provide("dojox.color.Palette");
-dojo.require("dojox.color");
-(function(){
-var _1=dojox.color;
-_1.Palette=function(_2){
-this.colors=[];
-if(_2 instanceof dojox.color.Palette){
-this.colors=_2.colors.slice(0);
-}else{
-if(_2 instanceof dojox.color.Color){
-this.colors=[null,null,_2,null,null];
-}else{
-if(dojo.isArray(_2)){
-this.colors=dojo.map(_2.slice(0),function(_3){
-if(dojo.isString(_3)){
-return new dojox.color.Color(_3);
-}
-return _3;
-});
-}else{
-if(dojo.isString(_2)){
-this.colors=[null,null,new dojox.color.Color(_2),null,null];
-}
-}
-}
-}
-};
-function _4(p,_6,_7){
-var _8=new dojox.color.Palette();
-_8.colors=[];
-dojo.forEach(p.colors,function(_9){
-var r=(_6=="dr")?_9.r+_7:_9.r,g=(_6=="dg")?_9.g+_7:_9.g,b=(_6=="db")?_9.b+_7:_9.b,a=(_6=="da")?_9.a+_7:_9.a;
-_8.colors.push(new dojox.color.Color({r:Math.min(255,Math.max(0,r)),g:Math.min(255,Math.max(0,g)),b:Math.min(255,Math.max(0,b)),a:Math.min(1,Math.max(0,a))}));
-});
-
-return _8;
-};
-function _e(p,_10,val){
-var ret=new dojox.color.Palette();
-ret.colors=[];
-dojo.forEach(p.colors,function(_13){
-var o=_13.toCmy(),c=(_10=="dc")?o.c+val:o.c,m=(_10=="dm")?o.m+val:o.m,y=(_10=="dy")?o.y+val:o.y;
-ret.colors.push(dojox.color.fromCmy(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y))));
-});
-return ret;
-};
-function _18(p,_1a,val){
-var ret=new dojox.color.Palette();
-ret.colors=[];
-dojo.forEach(p.colors,function(_1d){
-var o=_1d.toCmyk(),c=(_1a=="dc")?o.c+val:o.c,m=(_1a=="dm")?o.m+val:o.m,y=(_1a=="dy")?o.y+val:o.y,k=(_1a=="dk")?o.b+val:o.b;
-ret.colors.push(dojox.color.fromCmyk(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y)),Math.min(100,Math.max(0,k))));
-});
-return ret;
-};
-function _23(p,_25,val){
-var ret=new dojox.color.Palette();
-ret.colors=[];
-dojo.forEach(p.colors,function(_28){
-var o=_28.toHsl(),h=(_25=="dh")?o.h+val:o.h,s=(_25=="ds")?o.s+val:o.s,l=(_25=="dl")?o.l+val:o.l;
-ret.colors.push(dojox.color.fromHsl(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))));
-});
-return ret;
-};
-function _2d(p,_2f,val){
-var ret=new dojox.color.Palette();
-ret.colors=[];
-dojo.forEach(p.colors,function(_32){
-var o=_32.toHsv(),h=(_2f=="dh")?o.h+val:o.h,s=(_2f=="ds")?o.s+val:o.s,v=(_2f=="dv")?o.v+val:o.v;
-ret.colors.push(dojox.color.fromHsv(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,v))));
-});
-return ret;
-};
-function _37(val,low,_3a){
-return _3a-((_3a-val)*((_3a-low)/_3a));
-};
-dojo.extend(_1.Palette,{transform:function(_3b){
-var fn=_4;
-if(_3b.use){
-var use=_3b.use.toLowerCase();
-if(use.indexOf("hs")==0){
-if(use.charAt(2)=="l"){
-fn=_23;
-}else{
-fn=_2d;
-}
-}else{
-if(use.indexOf("cmy")==0){
-if(use.charAt(3)=="k"){
-fn=_18;
-}else{
-fn=_e;
-}
-}
-}
-}else{
-if("dc" in _3b||"dm" in _3b||"dy" in _3b){
-if("dk" in _3b){
-fn=_18;
-}else{
-fn=_e;
-}
-}else{
-if("dh" in _3b||"ds" in _3b){
-if("dv" in _3b){
-fn=_2d;
-}else{
-fn=_23;
-}
-}
-}
-}
-var _3e=this;
-for(var p in _3b){
-if(p=="use"){
-continue;
-}
-_3e=fn(_3e,p,_3b[p]);
-}
-return _3e;
-},clone:function(){
-return new _1.Palette(this);
-}});
-dojo.mixin(_1.Palette,{generators:{analogous:function(_40){
-var _41=_40.high||60,low=_40.low||18,_43=dojo.isString(_40.base)?new dojox.color.Color(_40.base):_40.base,hsv=_43.toHsv();
-var h=[(hsv.h+low+360)%360,(hsv.h+Math.round(low/2)+360)%360,hsv.h,(hsv.h-Math.round(_41/2)+360)%360,(hsv.h-_41+360)%360];
-var s1=Math.max(10,(hsv.s<=95)?hsv.s+5:(100-(hsv.s-95))),s2=(hsv.s>1)?hsv.s-1:21-hsv.s,v1=(hsv.v>=92)?hsv.v-9:Math.max(hsv.v+9,20),v2=(hsv.v<=90)?Math.max(hsv.v+5,20):(95+Math.ceil((hsv.v-90)/2)),s=[s1,s2,hsv.s,s1,s1],v=[v1,v2,hsv.v,v1,v2];
-return new _1.Palette(dojo.map(h,function(hue,i){
-return dojox.color.fromHsv(hue,s[i],v[i]);
-}));
-},monochromatic:function(_4e){
-var _4f=dojo.isString(_4e.base)?new dojox.color.Color(_4e.base):_4e.base,hsv=_4f.toHsv();
-var s1=(hsv.s-30>9)?hsv.s-30:hsv.s+30,s2=hsv.s,v1=_37(hsv.v,20,100),v2=(hsv.v-20>20)?hsv.v-20:hsv.v+60,v3=(hsv.v-50>20)?hsv.v-50:hsv.v+30;
-return new _1.Palette([dojox.color.fromHsv(hsv.h,s1,v1),dojox.color.fromHsv(hsv.h,s2,v3),_4f,dojox.color.fromHsv(hsv.h,s1,v3),dojox.color.fromHsv(hsv.h,s2,v2)]);
-},triadic:function(_56){
-var _57=dojo.isString(_56.base)?new dojox.color.Color(_56.base):_56.base,hsv=_57.toHsv();
-var h1=(hsv.h+57+360)%360,h2=(hsv.h-157+360)%360,s1=(hsv.s>20)?hsv.s-10:hsv.s+10,s2=(hsv.s>90)?hsv.s-10:hsv.s+10,s3=(hsv.s>95)?hsv.s-5:hsv.s+5,v1=(hsv.v-20>20)?hsv.v-20:hsv.v+20,v2=(hsv.v-30>20)?hsv.v-30:hsv.v+30,v3=(hsv.v-30>70)?hsv.v-30:hsv.v+30;
-return new _1.Palette([dojox.color.fromHsv(h1,s1,hsv.v),dojox.color.fromHsv(hsv.h,s2,v2),_57,dojox.color.fromHsv(h2,s2,v1),dojox.color.fromHsv(h2,s3,v3)]);
-},complementary:function(_61){
-var _62=dojo.isString(_61.base)?new dojox.color.Color(_61.base):_61.base,hsv=_62.toHsv();
-var h1=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,s1=Math.max(hsv.s-10,0),s2=_37(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;
-return new _1.Palette([dojox.color.fromHsv(hsv.h,s1,v1),dojox.color.fromHsv(hsv.h,s2,v2),_62,dojox.color.fromHsv(h1,s3,v2),dojox.color.fromHsv(h1,hsv.s,hsv.v)]);
-},splitComplementary:function(_6a){
-var _6b=dojo.isString(_6a.base)?new dojox.color.Color(_6a.base):_6a.base,_6c=_6a.da||30,hsv=_6b.toHsv();
-var _6e=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,h1=(_6e-_6c+360)%360,h2=(_6e+_6c)%360,s1=Math.max(hsv.s-10,0),s2=_37(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;
-return new _1.Palette([dojox.color.fromHsv(h1,s1,v1),dojox.color.fromHsv(h1,s2,v2),_6b,dojox.color.fromHsv(h2,s3,v2),dojox.color.fromHsv(h2,hsv.s,hsv.v)]);
-},compound:function(_76){
-var _77=dojo.isString(_76.base)?new dojox.color.Color(_76.base):_76.base,hsv=_77.toHsv();
-var h1=((hsv.h*2)+18<360)?(hsv.h*2)+18:Math.floor(hsv.h/2)-18,h2=((hsv.h*2)+120<360)?(hsv.h*2)+120:Math.floor(hsv.h/2)-120,h3=((hsv.h*2)+99<360)?(hsv.h*2)+99:Math.floor(hsv.h/2)-99,s1=(hsv.s-40>10)?hsv.s-40:hsv.s+40,s2=(hsv.s-10>80)?hsv.s-10:hsv.s+10,s3=(hsv.s-25>10)?hsv.s-25:hsv.s+25,v1=(hsv.v-40>10)?hsv.v-40:hsv.v+40,v2=(hsv.v-20>80)?hsv.v-20:hsv.v+20,v3=Math.max(hsv.v,20);
-return new _1.Palette([dojox.color.fromHsv(h1,s1,v1),dojox.color.fromHsv(h1,s2,v2),_77,dojox.color.fromHsv(h2,s3,v3),dojox.color.fromHsv(h3,s2,v2)]);
-},shades:function(_82){
-var _83=dojo.isString(_82.base)?new dojox.color.Color(_82.base):_82.base,hsv=_83.toHsv();
-var s=(hsv.s==100&&hsv.v==0)?0:hsv.s,v1=(hsv.v-50>20)?hsv.v-50:hsv.v+30,v2=(hsv.v-25>=20)?hsv.v-25:hsv.v+55,v3=(hsv.v-75>=20)?hsv.v-75:hsv.v+5,v4=Math.max(hsv.v-10,20);
-return new _1.Palette([new dojox.color.fromHsv(hsv.h,s,v1),new dojox.color.fromHsv(hsv.h,s,v2),_83,new dojox.color.fromHsv(hsv.h,s,v3),new dojox.color.fromHsv(hsv.h,s,v4)]);
-}},generate:function(_8a,_8b){
-if(dojo.isFunction(_8b)){
-return _8b({base:_8a});
-}else{
-if(_1.Palette.generators[_8b]){
-return _1.Palette.generators[_8b]({base:_8a});
-}
-}
-throw new Error("dojox.color.Palette.generate: the specified generator ('"+_8b+"') does not exist.");
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/color/README
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/color/README b/components/camel-web/src/main/webapp/js/dojox/color/README
deleted file mode 100644
index a65e11a..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/color/README
+++ /dev/null
@@ -1,41 +0,0 @@
--------------------------------------------------------------------------------
-DojoX Color
--------------------------------------------------------------------------------
-Version 0.9
-Release date: 10/20/2007
--------------------------------------------------------------------------------
-Project state:
-dojox.color._base: 			production
-dojox.color.Colorspace:		experimental
-dojox.color.Generator:		beta
--------------------------------------------------------------------------------
-Credits
-	Cal Henderson
-	Tom Trenka (ttrenka AT gmail.com)
--------------------------------------------------------------------------------
-Project description
-
-Both a port of the older dojo.gfx.color work (Cal Henderson) as well as some
-new additions (Generator, Tom Trenka).  Everything is applied to an alias of
-dojo.Color or dojo.color, so that you can just use dojox.color.Color instead
-with extended methods.
--------------------------------------------------------------------------------
-Dependencies:
-
-Depends on the Dojo Core, v1.0
--------------------------------------------------------------------------------
-Documentation
-
-See the API documentation.
--------------------------------------------------------------------------------
-Installation instructions
-
-Grab the following from the Dojo SVN Repository:
-http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/color.js
-http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/color/*
-
-Install into the following directory structure:
-/dojox/color/
-
-...which should be at the same level as your Dojo checkout.
--------------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/color/_base.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/color/_base.js b/components/camel-web/src/main/webapp/js/dojox/color/_base.js
deleted file mode 100644
index 0078645..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/color/_base.js
+++ /dev/null
@@ -1,180 +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["dojox.color._base"]){
-dojo._hasResource["dojox.color._base"]=true;
-dojo.provide("dojox.color._base");
-dojo.require("dojo.colors");
-dojox.color.Color=dojo.Color;
-dojox.color.blend=dojo.blendColors;
-dojox.color.fromRgb=dojo.colorFromRgb;
-dojox.color.fromHex=dojo.colorFromHex;
-dojox.color.fromArray=dojo.colorFromArray;
-dojox.color.fromString=dojo.colorFromString;
-dojox.color.greyscale=dojo.colors.makeGrey;
-dojo.mixin(dojox.color,{fromCmy:function(_1,_2,_3){
-if(dojo.isArray(_1)){
-_2=_1[1],_3=_1[2],_1=_1[0];
-}else{
-if(dojo.isObject(_1)){
-_2=_1.m,_3=_1.y,_1=_1.c;
-}
-}
-_1/=100,_2/=100,_3/=100;
-var r=1-_1,g=1-_2,b=1-_3;
-return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});
-},fromCmyk:function(_7,_8,_9,_a){
-if(dojo.isArray(_7)){
-_8=_7[1],_9=_7[2],_a=_7[3],_7=_7[0];
-}else{
-if(dojo.isObject(_7)){
-_8=_7.m,_9=_7.y,_a=_7.b,_7=_7.c;
-}
-}
-_7/=100,_8/=100,_9/=100,_a/=100;
-var r,g,b;
-r=1-Math.min(1,_7*(1-_a)+_a);
-g=1-Math.min(1,_8*(1-_a)+_a);
-b=1-Math.min(1,_9*(1-_a)+_a);
-return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});
-},fromHsl:function(_e,_f,_10){
-if(dojo.isArray(_e)){
-_f=_e[1],_10=_e[2],_e=_e[0];
-}else{
-if(dojo.isObject(_e)){
-_f=_e.s,_10=_e.l,_e=_e.h;
-}
-}
-_f/=100;
-_10/=100;
-while(_e<0){
-_e+=360;
-}
-while(_e>=360){
-_e-=360;
-}
-var r,g,b;
-if(_e<120){
-r=(120-_e)/60,g=_e/60,b=0;
-}else{
-if(_e<240){
-r=0,g=(240-_e)/60,b=(_e-120)/60;
-}else{
-r=(_e-240)/60,g=0,b=(360-_e)/60;
-}
-}
-r=2*_f*Math.min(r,1)+(1-_f);
-g=2*_f*Math.min(g,1)+(1-_f);
-b=2*_f*Math.min(b,1)+(1-_f);
-if(_10<0.5){
-r*=_10,g*=_10,b*=_10;
-}else{
-r=(1-_10)*r+2*_10-1;
-g=(1-_10)*g+2*_10-1;
-b=(1-_10)*b+2*_10-1;
-}
-return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});
-},fromHsv:function(hue,_15,_16){
-if(dojo.isArray(hue)){
-_15=hue[1],_16=hue[2],hue=hue[0];
-}else{
-if(dojo.isObject(hue)){
-_15=hue.s,_16=hue.v,hue=hue.h;
-}
-}
-if(hue==360){
-hue=0;
-}
-_15/=100;
-_16/=100;
-var r,g,b;
-if(_15==0){
-r=_16,b=_16,g=_16;
-}else{
-var _1a=hue/60,i=Math.floor(_1a),f=_1a-i;
-var p=_16*(1-_15);
-var q=_16*(1-(_15*f));
-var t=_16*(1-(_15*(1-f)));
-switch(i){
-case 0:
-r=_16,g=t,b=p;
-break;
-case 1:
-r=q,g=_16,b=p;
-break;
-case 2:
-r=p,g=_16,b=t;
-break;
-case 3:
-r=p,g=q,b=_16;
-break;
-case 4:
-r=t,g=p,b=_16;
-break;
-case 5:
-r=_16,g=p,b=q;
-break;
-}
-}
-return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});
-}});
-dojo.extend(dojox.color.Color,{toCmy:function(){
-var _20=1-(this.r/255),_21=1-(this.g/255),_22=1-(this.b/255);
-return {c:Math.round(_20*100),m:Math.round(_21*100),y:Math.round(_22*100)};
-},toCmyk:function(){
-var _23,_24,_25,_26;
-var r=this.r/255,g=this.g/255,b=this.b/255;
-_26=Math.min(1-r,1-g,1-b);
-_23=(1-r-_26)/(1-_26);
-_24=(1-g-_26)/(1-_26);
-_25=(1-b-_26)/(1-_26);
-return {c:Math.round(_23*100),m:Math.round(_24*100),y:Math.round(_25*100),b:Math.round(_26*100)};
-},toHsl:function(){
-var r=this.r/255,g=this.g/255,b=this.b/255;
-var min=Math.min(r,b,g),max=Math.max(r,g,b);
-var _2f=max-min;
-var h=0,s=0,l=(min+max)/2;
-if(l>0&&l<1){
-s=_2f/((l<0.5)?(2*l):(2-2*l));
-}
-if(_2f>0){
-if(max==r&&max!=g){
-h+=(g-b)/_2f;
-}
-if(max==g&&max!=b){
-h+=(2+(b-r)/_2f);
-}
-if(max==b&&max!=r){
-h+=(4+(r-g)/_2f);
-}
-h*=60;
-}
-return {h:h,s:Math.round(s*100),l:Math.round(l*100)};
-},toHsv:function(){
-var r=this.r/255,g=this.g/255,b=this.b/255;
-var min=Math.min(r,b,g),max=Math.max(r,g,b);
-var _38=max-min;
-var h=null,s=(max==0)?0:(_38/max);
-if(s==0){
-h=0;
-}else{
-if(r==max){
-h=60*(g-b)/_38;
-}else{
-if(g==max){
-h=120+60*(b-r)/_38;
-}else{
-h=240+60*(r-g)/_38;
-}
-}
-if(h<0){
-h+=360;
-}
-}
-return {h:h,s:Math.round(s*100),v:Math.round(max*100)};
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/cometd.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/cometd.js b/components/camel-web/src/main/webapp/js/dojox/cometd.js
deleted file mode 100644
index 6744f97..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/cometd.js
+++ /dev/null
@@ -1,14 +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["dojox.cometd"]){
-dojo._hasResource["dojox.cometd"]=true;
-dojo.provide("dojox.cometd");
-dojo.require("dojox.cometd._base");
-dojo.require("dojox.cometd.longPollTransport");
-dojo.require("dojox.cometd.callbackPollTransport");
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/cometd/HttpChannels.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/cometd/HttpChannels.js b/components/camel-web/src/main/webapp/js/dojox/cometd/HttpChannels.js
deleted file mode 100644
index f690c1c..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/cometd/HttpChannels.js
+++ /dev/null
@@ -1,14 +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["dojox.cometd.HttpChannels"]){
-dojo._hasResource["dojox.cometd.HttpChannels"]=true;
-dojo.provide("dojox.cometd.HttpChannels");
-dojo.require("dojox.io.httpParse");
-dojo.require("dojox.cometd.RestChannels");
-dojox.cometd.HttpChannels=dojox.cometd.RestChannels;
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/cometd/README
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/cometd/README b/components/camel-web/src/main/webapp/js/dojox/cometd/README
deleted file mode 100644
index 05a42a2..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/cometd/README
+++ /dev/null
@@ -1,29 +0,0 @@
--------------------------------------------------------------------------------
-Cometd (client)
--------------------------------------------------------------------------------
-Version 0.4
-Release date: May 29, 2007
--------------------------------------------------------------------------------
-Project state: beta 
--------------------------------------------------------------------------------
-Project authors
-	Alex Russell (alex@dojotoolkit.org)
-	Greg Wilkins
--------------------------------------------------------------------------------
-Project description
-
-Low-latency data transfer from servers to clients. dojox.cometd implements a
-Bayeux protocol client for use with most Bayeux servers. See cometd.com for
-details on Cometd or on the Bayeux protocol.
--------------------------------------------------------------------------------
-Dependencies:
-
-Needs a cooperating Bayeux server
--------------------------------------------------------------------------------
-Documentation
-
-See http://cometd.com
--------------------------------------------------------------------------------
-Installation instructions
-
-Use this library with (preferably through) an existing Cometd server.

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/cometd/RestChannels.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/cometd/RestChannels.js b/components/camel-web/src/main/webapp/js/dojox/cometd/RestChannels.js
deleted file mode 100644
index e678d6d..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/cometd/RestChannels.js
+++ /dev/null
@@ -1,338 +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["dojox.cometd.RestChannels"]){
-dojo._hasResource["dojox.cometd.RestChannels"]=true;
-dojo.provide("dojox.cometd.RestChannels");
-dojo.require("dojox.rpc.Client");
-dojo.requireIf(dojox.data&&!!dojox.data.JsonRestStore,"dojox.data.restListener");
-(function(){
-dojo.declare("dojox.cometd.RestChannels",null,{constructor:function(_1){
-dojo.mixin(this,_1);
-if(dojox.rpc.Rest&&this.autoSubscribeRoot){
-var _2=dojox.rpc.Rest._get;
-var _3=this;
-dojox.rpc.Rest._get=function(_4,id){
-var _6=dojo.xhrGet;
-dojo.xhrGet=function(r){
-var _8=_3.autoSubscribeRoot;
-return (_8&&r.url.substring(0,_8.length)==_8)?_3.get(r.url,r):_6(r);
-};
-var _9=_2.apply(this,arguments);
-dojo.xhrGet=_6;
-return _9;
-};
-}
-if(dojox.data&&dojox.data.restListener){
-this.receive=dojox.data.restListener;
-}
-},absoluteUrl:function(_a,_b){
-return new dojo._Url(_a,_b)+"";
-},acceptType:"application/rest+json,application/http;q=0.9,*/*;q=0.7",subscriptions:{},subCallbacks:{},autoReconnectTime:3000,reloadDataOnReconnect:true,sendAsJson:false,url:"/channels",autoSubscribeRoot:"/",open:function(){
-this.started=true;
-if(!this.connected){
-this.connectionId=dojox.rpc.Client.clientId;
-var _c=this.createdClientId?"Client-Id":"Create-Client-Id";
-this.createdClientId=true;
-var _d={Accept:this.acceptType};
-_d[_c]=this.connectionId;
-var _e=dojo.xhrPost({headers:_d,url:this.url,noStatus:true});
-var _f=this;
-this.lastIndex=0;
-var _10,_11=function(_12){
-if(typeof dojo=="undefined"){
-return null;
-}
-if(xhr&&xhr.status>400){
-return _10(true);
-}
-if(typeof _12=="string"){
-_12=_12.substring(_f.lastIndex);
-}
-var _14=xhr&&(xhr.contentType||xhr.getResponseHeader("Content-Type"))||(typeof _12!="string"&&"already json");
-var _15=_f.onprogress(xhr,_12,_14);
-if(_15){
-if(_10()){
-return new Error(_15);
-}
-}
-if(!xhr||xhr.readyState==4){
-xhr=null;
-if(_f.connected){
-_f.connected=false;
-_f.open();
-}
-}
-return _12;
-};
-_10=function(_16){
-if(xhr&&xhr.status==409){
-
-_f.disconnected();
-return null;
-}
-_f.createdClientId=false;
-_f.disconnected();
-return _16;
-};
-_e.addCallbacks(_11,_10);
-var xhr=_e.ioArgs.xhr;
-if(xhr){
-xhr.onreadystatechange=function(){
-var _17;
-try{
-if(xhr.readyState==3){
-_f.readyState=3;
-_17=xhr.responseText;
-}
-}
-catch(e){
-}
-if(typeof _17=="string"){
-_11(_17);
-}
-};
-}
-if(window.attachEvent){
-attachEvent("onunload",function(){
-_f.connected=false;
-if(xhr){
-xhr.abort();
-}
-});
-}
-this.connected=true;
-}
-},_send:function(_18,_19,_1a){
-if(this.sendAsJson){
-_19.postBody=dojo.toJson({target:_19.url,method:_18,content:_1a,params:_19.content,subscribe:_19.headers["Subscribe"]});
-_19.url=this.url;
-_18="POST";
-}else{
-_19.postData=dojo.toJson(_1a);
-}
-return dojo.xhr(_18,_19,_19.postBody);
-},subscribe:function(_1b,_1c){
-_1c=_1c||{};
-_1c.url=this.absoluteUrl(this.url,_1b);
-if(_1c.headers){
-delete _1c.headers.Range;
-}
-var _1d=this.subscriptions[_1b];
-var _1e=_1c.method||"HEAD";
-var _1f=_1c.since;
-var _20=_1c.callback;
-var _21=_1c.headers||(_1c.headers={});
-this.subscriptions[_1b]=_1f||_1d||0;
-var _22=this.subCallbacks[_1b];
-if(_20){
-this.subCallbacks[_1b]=_22?function(m){
-_22(m);
-_20(m);
-}:_20;
-}
-if(!this.connected){
-this.open();
-}
-if(_1d===undefined||_1d!=_1f){
-_21["Cache-Control"]="max-age=0";
-_1f=typeof _1f=="number"?new Date(_1f).toUTCString():_1f;
-if(_1f){
-_21["Subscribe-Since"]=_1f;
-}
-_21["Subscribe"]=_1c.unsubscribe?"none":"*";
-var dfd=this._send(_1e,_1c);
-var _25=this;
-dfd.addBoth(function(_26){
-var xhr=dfd.ioArgs.xhr;
-if(!(_26 instanceof Error)){
-if(_1c.confirmation){
-_1c.confirmation();
-}
-}
-if(xhr&&xhr.getResponseHeader("Subscribed")=="OK"){
-var _28=xhr.getResponseHeader("Last-Modified");
-if(xhr.responseText){
-_25.subscriptions[_1b]=_28||new Date().toUTCString();
-}else{
-return null;
-}
-}else{
-if(xhr&&!(_26 instanceof Error)){
-delete _25.subscriptions[_1b];
-}
-}
-if(!(_26 instanceof Error)){
-var _29={responseText:xhr&&xhr.responseText,channel:_1b,getResponseHeader:function(_2a){
-return xhr.getResponseHeader(_2a);
-},getAllResponseHeaders:function(){
-return xhr.getAllResponseHeaders();
-},result:_26};
-if(_25.subCallbacks[_1b]){
-_25.subCallbacks[_1b](_29);
-}
-}else{
-if(_25.subCallbacks[_1b]){
-_25.subCallbacks[_1b](xhr);
-}
-}
-return _26;
-});
-return dfd;
-}
-return null;
-},publish:function(_2b,_2c){
-return this._send("POST",{url:_2b,contentType:"application/json"},_2c);
-},_processMessage:function(_2d){
-_2d.event=_2d.event||_2d.getResponseHeader("Event");
-if(_2d.event=="connection-conflict"){
-return "conflict";
-}
-try{
-_2d.result=_2d.result||dojo.fromJson(_2d.responseText);
-}
-catch(e){
-}
-var _2e=this;
-var loc=_2d.channel=new dojo._Url(this.url,_2d.source||_2d.getResponseHeader("Content-Location"))+"";
-if(loc in this.subscriptions&&_2d.getResponseHeader){
-this.subscriptions[loc]=_2d.getResponseHeader("Last-Modified");
-}
-if(this.subCallbacks[loc]){
-setTimeout(function(){
-_2e.subCallbacks[loc](_2d);
-},0);
-}
-this.receive(_2d);
-return null;
-},onprogress:function(xhr,_31,_32){
-if(!_32||_32.match(/application\/rest\+json/)){
-var _33=_31.length;
-_31=_31.replace(/^\s*[,\[]?/,"[").replace(/[,\]]?\s*$/,"]");
-try{
-var _34=dojo.fromJson(_31);
-this.lastIndex+=_33;
-}
-catch(e){
-}
-}else{
-if(dojox.io&&dojox.io.httpParse&&_32.match(/application\/http/)){
-var _35="";
-if(xhr&&xhr.getAllResponseHeaders){
-_35=xhr.getAllResponseHeaders();
-}
-_34=dojox.io.httpParse(_31,_35,xhr.readyState!=4);
-}else{
-if(typeof _31=="object"){
-_34=_31;
-}
-}
-}
-if(_34){
-for(var i=0;i<_34.length;i++){
-if(this._processMessage(_34[i])){
-return "conflict";
-}
-}
-return null;
-}
-if(!xhr){
-return "error";
-}
-if(xhr.readyState!=4){
-return null;
-}
-if(xhr.__proto__){
-xhr={channel:"channel",__proto__:xhr};
-}
-return this._processMessage(xhr);
-},get:function(_37,_38){
-(_38=_38||{}).method="GET";
-return this.subscribe(_37,_38);
-},receive:function(_39){
-},disconnected:function(){
-var _3a=this;
-if(this.connected){
-this.connected=false;
-if(this.started){
-setTimeout(function(){
-var _3b=_3a.subscriptions;
-_3a.subscriptions={};
-for(var i in _3b){
-if(_3a.reloadDataOnReconnect&&dojox.rpc.JsonRest){
-delete dojox.rpc.Rest._index[i];
-dojox.rpc.JsonRest.fetch(i);
-}else{
-_3a.subscribe(i,{since:_3b[i]});
-}
-}
-_3a.open();
-},this.autoReconnectTime);
-}
-}
-},unsubscribe:function(_3d,_3e){
-_3e=_3e||{};
-_3e.unsubscribe=true;
-this.subscribe(_3d,_3e);
-},disconnect:function(){
-this.started=false;
-this.xhr.abort();
-}});
-var _3f=dojox.cometd.RestChannels.defaultInstance=new dojox.cometd.RestChannels();
-if(dojox.cometd.connectionTypes){
-_3f.startup=function(_40){
-_3f.open();
-this._cometd._deliver({channel:"/meta/connect",successful:true});
-};
-_3f.check=function(_41,_42,_43){
-for(var i=0;i<_41.length;i++){
-if(_41[i]=="rest-channels"){
-return !_43;
-}
-}
-return false;
-};
-_3f.deliver=function(_45){
-};
-dojo.connect(this,"receive",null,function(_46){
-_46.data=_46.result;
-this._cometd._deliver(_46);
-});
-_3f.sendMessages=function(_47){
-for(var i=0;i<_47.length;i++){
-var _49=_47[i];
-var _4a=_49.channel;
-var _4b=this._cometd;
-var _4c={confirmation:function(){
-_4b._deliver({channel:_4a,successful:true});
-}};
-if(_4a=="/meta/subscribe"){
-this.subscribe(_49.subscription,_4c);
-}else{
-if(_4a=="/meta/unsubscribe"){
-this.unsubscribe(_49.subscription,_4c);
-}else{
-if(_4a=="/meta/connect"){
-_4c.confirmation();
-}else{
-if(_4a=="/meta/disconnect"){
-_3f.disconnect();
-_4c.confirmation();
-}else{
-if(_4a.substring(0,6)!="/meta/"){
-this.publish(_4a,_49.data);
-}
-}
-}
-}
-}
-}
-};
-dojox.cometd.connectionTypes.register("rest-channels",_3f.check,_3f,false,true);
-}
-})();
-}


Mime
View raw message