Produced by Araxis Merge on 2/1/2017 2:57:54 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM Portal\trunk\BTSSSPortal\js\ckeditor\plugins\tableresize | plugin.js | Tue Dec 20 19:50:49 2016 UTC |
| 2 | Wed Feb 1 19:57:54 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 13 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /* | |||||
| 2 | Copyright (c) 2003- 2015, CKSo urce - Fre derico Kna bben. All rights res erved. | |||||
| 3 | This soft ware is co vered by C KEditor Co mmercial L icense. Us age withou t proper l icense is prohibited . | |||||
| 4 | */ | |||||
| 5 | (function( ){function y(a){retu rn CKEDITO R.env.ie?a .$.clientW idth:parse Int(a.getC omputedSty le("width" ),10)}func tion r(a,h ){var b=a. getCompute dStyle("bo rder-"+h+" -width"),d ={thin:"0p x",medium: "1px",thic k:"2px"};0 >b.indexOf ("px")&&(b =b in d&&" none"!=a.g etComputed Style("bor der-style" )?d[b]:0); return par seInt(b,10 )}function A(a){var h=[],b=-1, d="rtl"==a .getComput edStyle("d irection") ,f;f=a.$.r ows;for(va r m=0,g,c, e,k=0,t=f. length;k<t ;k++)e=f[k ],g=e.cell s.length,g >m&&(m=g,c =e);f=c;m= new CKEDIT OR.dom.ele ment(a.$.t Bodies[0]) ; | |||||
| 6 | g=m.getDoc umentPosit ion();c=0; for(e=f.ce lls.length ;c<e;c++){ var k=new CKEDITOR.d om.element (f.cells[c ]),t=f.cel ls[c+1]&&n ew CKEDITO R.dom.elem ent(f.cell s[c+1]),b= b+(k.$.col Span||1),n ,l,p=k.get DocumentPo sition().x ;d?l=p+r(k ,"left"):n =p+k.$.off setWidth-r (k,"right" );t?(p=t.g etDocument Position() .x,d?n=p+t .$.offsetW idth-r(t," right"):l= p+r(t,"lef t")):(p=a. getDocumen tPosition( ).x,d?n=p: l=p+a.$.of fsetWidth) ;k=Math.ma x(l-n,3);h .push({tab le:a,index :b,x:n,y:g .y,width:k ,height:m. $.offsetHe ight,rtl:d })}return h} | |||||
| 7 | function z (a){(a.dat a||a).prev entDefault ()}functio n E(a){fun ction h(){ k=0;e.setO pacity(0); n&&b();var a=g.table ;setTimeou t(function (){a.remov eCustomDat a("_cke_ta ble_pillar s")},0);c. removeList ener("drag start",z)} function b (){for(var w=g.rtl,f =w?p.lengt h:B.length ,b=0,c=0;c <f;c++){va r e=B[c],d =p[c],k=g. table;CKED ITOR.tools .setTimeou t(function (c,e,d,g,h ,m){c&&c.s etStyle("w idth",l(Ma th.max(e+m ,1)));d&&d .setStyle( "width",l( Math.max(g -m,1)));h& &k.setStyl e("width", l(h+m*(w?- 1:1)));++b ==f&&a.fir e("saveSna pshot")}, | |||||
| 8 | 0,this,[e, e&&y(e),d, d&&y(d),(! e||!d)&&y( k)+r(k,"le ft")+r(k," right"),n] )}}functio n d(w){z(w );a.fire(" saveSnapsh ot");w=g.i ndex;for(v ar d=CKEDI TOR.tools. buildTable Map(g.tabl e),b=[],h= [],l=Numbe r.MAX_VALU E,r=l,x=g. rtl,v=0,A= d.length;v <A;v++){va r q=d[v],u =q[w+(x?1: 0)],q=q[w+ (x?0:1)],u =u&&new CK EDITOR.dom .element(u ),q=q&&new CKEDITOR. dom.elemen t(q);u&&q& &u.equals( q)||(u&&(l =Math.min( l,y(u))),q &&(r=Math. min(r,y(q) )),b.push( u),h.push( q))}B=b;p= h;C=g.x-l; D=g.x+r;e. setOpacity (.5);t=par seInt(e.ge tStyle("le ft"), | |||||
| 9 | 10);n=0;k= 1;e.on("mo usemove",m );c.on("dr agstart",z );c.on("mo useup",f,t his)}funct ion f(a){a .removeLis tener();h( )}function m(a){v(a. data.getPa geOffset() .x)}var g, c,e,k,t,n, B,p,C,D;c= a.document ;e=CKEDITO R.dom.elem ent.create FromHtml(' \x3cdiv da ta-cke-tem p\x3d1 con tenteditab le\x3dfals e unselect able\x3don style\x3d "position: absolute;c ursor:col- resize;fil ter:alpha( opacity\x3 d0);opacit y:0;paddin g:0;backgr ound-color :#004;back ground-ima ge:none;bo rder:0px n one;z-inde x:10"\x3e\ x3c/div\x3 e',c);a.on ("destroy" , | |||||
| 10 | function() {e.remove( )});x||c.g etDocument Element(). append(e); this.attac hTo=functi on(a){k||( x&&(c.getB ody().appe nd(e),n=0) ,g=a,e.set Styles({wi dth:l(a.wi dth),heigh t:l(a.heig ht),left:l (a.x),top: l(a.y)}),x &&e.setOpa city(.25), e.on("mous edown",d,t his),c.get Body().set Style("cur sor","col- resize"),e .show())}; var v=this .move=func tion(a){if (!g)return 0;if(!k&& (a<g.x||a> g.x+g.widt h))return g=null,k=n =0,c.remov eListener( "mouseup", f),e.remov eListener( "mousedown ",d),e.rem oveListene r("mousemo ve",m),c.g etBody().s etStyle("c ursor", | |||||
| 11 | "auto"),x? e.remove() :e.hide(), 0;a-=Math. round(e.$. offsetWidt h/2);if(k) {if(a==C|| a==D)retur n 1;a=Math .max(a,C); a=Math.min (a,D);n=a- t}e.setSty le("left", l(a));retu rn 1}}func tion v(a){ var h=a.da ta.getTarg et();if("m ouseout"== a.name){if (!h.is("ta ble"))retu rn;for(var b=new CKE DITOR.dom. element(a. data.$.rel atedTarget ||a.data.$ .toElement );b&&b.$&& !b.equals( h)&&!b.is( "body");)b =b.getPare nt();if(!b ||b.equals (h))return }h.getAsce ndant("tab le",1).rem oveCustomD ata("_cke_ table_pill ars");a.re moveListen er()}var l = | |||||
| 12 | CKEDITOR.t ools.cssLe ngth,x=CKE DITOR.env. ie&&(CKEDI TOR.env.ie 7Compat||C KEDITOR.en v.quirks); CKEDITOR.p lugins.add ("tableres ize",{requ ires:"tabl etools",in it:functio n(a){a.on( "contentDo m",functio n(){var h, b=a.editab le();b.att achListene r(b.isInli ne()?b:a.d ocument,"m ousemove", function(d ){d=d.data ;var f=d.g etTarget() ;if(f.type ==CKEDITOR .NODE_ELEM ENT){var b =d.getPage Offset().x ;if(h&&h.m ove(b))z(d );else if( f.is("tabl e")||f.get Ascendant( "tbody",1) )if(f=f.ge tAscendant ("table",1 ),a.editab le().conta ins(f)){(d = | |||||
| 13 | f.getCusto mData("_ck e_table_pi llars"))|| (f.setCust omData("_c ke_table_p illars",d= A(f)),f.on ("mouseout ",v),f.on( "mousedown ",v));a:{f or(var f=0 ,g=d.lengt h;f<g;f++) {var c=d[f ];if(b>=c. x&&b<=c.x+ c.width){b =c;break a }}b=null}b &&(!h&&(h= new E(a)), h.attachTo (b))}}})}) }})})(); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.