1324. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:57:51 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.

1324.1 Files compared

# 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\mathjax plugin.js Tue Dec 20 19:50:43 2016 UTC
2 Wed Feb 1 19:57:51 2017 UTC

1324.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 0 0
Removed 1 15

1324.3 Comparison options

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

1324.4 Active regular expressions

No regular expressions were active.

1324.5 Comparison detail

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( ){CKEDITOR .plugins.a dd("mathja x",{lang:" af,ar,bg,c a,cs,cy,da ,de,el,en, en-gb,eo,e s,fa,fi,fr ,gl,he,hr, hu,it,ja,k m,ko,ku,lt ,nb,nl,no, pl,pt,pt-b r,ro,ru,sk ,sl,sq,sv, tr,tt,uk,v i,zh,zh-cn ",requires :"widget,d ialog",ico ns:"mathja x",hidpi:! 0,init:fun ction(b){v ar c=b.con fig.mathJa xClass||"m ath-tex";! b.config.m athJaxLib& &window.co nsole&&win dow.consol e.log&&win dow.consol e.log("Err or: config .mathJaxLi b property  is not se t. For mor e informat ion visit:  ","http:/ /docs.cked itor.com/# !/api/CKED ITOR.confi g-cfg-math JaxLib");        
6   b.widgets. add("mathj ax",{inlin e:!0,dialo g:"mathjax ",button:b .lang.math jax.button ,mask:!0,a llowedCont ent:"span( !"+c+")",s tyleToAllo wedContent Rules:func tion(a){a= a.getClass esArray(); if(!a)retu rn null;a. push("!"+c );return"s pan("+a.jo in(",")+") "},pathNam e:b.lang.m athjax.pat hName,temp late:'\x3c span class \x3d"'+c+' " style\x3 d"display: inline-blo ck" data-c ke-survive \x3d1\x3e\ x3c/span\x 3e',parts: {span:"spa n"},defaul ts:{math:" \\(x \x3d  {-b \\pm \ \sqrt{b^2- 4ac} \\ove r 2a}\\)"} ,init:func tion(){var  a=this.pa rts.span.g etChild(0) ;        
7   a&&a.type= =CKEDITOR. NODE_ELEME NT&&a.is(" iframe")|| (a=new CKE DITOR.dom. element("i frame"),a. setAttribu tes({style :"border:0 ;width:0;h eight:0",s crolling:" no",frameb order:0,al lowTranspa rency:!0,s rc:CKEDITO R.plugins. mathjax.fi xSrc}),thi s.parts.sp an.append( a));this.o nce("ready ",function (){CKEDITO R.env.ie&& a.setAttri bute("src" ,CKEDITOR. plugins.ma thjax.fixS rc);this.f rameWrappe r=new CKED ITOR.plugi ns.mathjax .frameWrap per(a,b);t his.frameW rapper.set Value(this .data.math )})},data: function() {this.fram eWrapper&& this.frame Wrapper.se tValue(thi s.data.mat h)},        
8   upcast:fun ction(a,b) {if("span" ==a.name&& a.hasClass (c)&&!(1<a .children. length||a. children[0 ].type!=CK EDITOR.NOD E_TEXT)){b .math=CKED ITOR.tools .htmlDecod e(a.childr en[0].valu e);var d=a .attribute s;d.style= d.style?d. style+";di splay:inli ne-block": "display:i nline-bloc k";d["data -cke-survi ve"]=1;a.c hildren[0] .remove(); return a}} ,downcast: function(a ){a.childr en[0].repl aceWith(ne w CKEDITOR .htmlParse r.text(CKE DITOR.tool s.htmlEnco de(this.da ta.math))) ;var b=a.a ttributes; b.style=b. style.repl ace(/displ ay:\s?inli ne-block;? \s?/,        
9   "");""===b .style&&de lete b.sty le;return  a}});CKEDI TOR.dialog .add("math jax",this. path+"dial ogs/mathja x.js");b.o n("content Preview",f unction(a) {a.data.da taValue=a. data.dataV alue.repla ce(/<\/hea d>/,'\x3cs cript src\ x3d"'+CKED ITOR.getUr l(b.config .mathJaxLi b)+'"\x3e\ x3c/script \x3e\x3c/h ead\x3e')} );b.on("pa ste",funct ion(a){a.d ata.dataVa lue=a.data .dataValue .replace(n ew RegExp( "\x3cspan[ ^\x3e]*?"+ c+".*?\x3c /span\x3e" ,"ig"),fun ction(a){r eturn a.re place(/(<i frame.*?\/ iframe>)/i ,"")})})}} );CKEDITOR .plugins.m athjax=        
10   {};CKEDITO R.plugins. mathjax.fi xSrc=CKEDI TOR.env.ge cko?"javas cript:true ":CKEDITOR .env.ie?"j avascript: void((func tion(){"+e ncodeURICo mponent("d ocument.op en();("+CK EDITOR.too ls.fixDoma in+")();do cument.clo se();")+"} )())":"jav ascript:vo id(0)";CKE DITOR.plug ins.mathja x.loadingI con=CKEDIT OR.plugins .get("math jax").path +"images/l oader.gif" ;CKEDITOR. plugins.ma thjax.copy Styles=fun ction(b,c) {for(var a ="color fo nt-family  font-style  font-weig ht font-va riant font -size".spl it(" "),e= 0;e<a.leng th;e++){va r d=a[e],g =        
11   b.getCompu tedStyle(d );g&&c.set Style(d,g) }};CKEDITO R.plugins. mathjax.tr im=functio n(b){var c =b.indexOf ("\\(")+2, a=b.lastIn dexOf("\\) ");return  b.substrin g(c,a)};CK EDITOR.plu gins.mathj ax.frameWr apper=CKED ITOR.env.i e&&8==CKED ITOR.env.v ersion?fun ction(b,c) {b.getFram eDocument( ).write('\ x3c!DOCTYP E html\x3e \x3chtml\x 3e\x3chead \x3e\x3cme ta charset \x3d"utf-8 "\x3e\x3c/ head\x3e\x 3cbody sty le\x3d"pad ding:0;mar gin:0;back ground:tra nsparent;o verflow:hi dden"\x3e\ x3cspan st yle\x3d"wh ite-space: nowrap;" i d\x3d"tex" \x3e\x3c/s pan\x3e\x3 c/body\x3e \x3c/html\ x3e');        
12   return{set Value:func tion(a){va r e=b.getF rameDocume nt(),d=e.g etById("te x");d.setH tml(CKEDIT OR.plugins .mathjax.t rim(CKEDIT OR.tools.h tmlEncode( a)));CKEDI TOR.plugin s.mathjax. copyStyles (b,d);c.fi re("lockSn apshot");b .setStyles ({width:Ma th.min(250 ,d.$.offse tWidth)+"p x",height: e.$.body.o ffsetHeigh t+"px",dis play:"inli ne","verti cal-align" :"middle"} );c.fire(" unlockSnap shot")}}}: function(b ,c){functi on a(){f=b .getFrameD ocument(); f.getById( "preview") ||(CKEDITO R.env.ie&& b.removeAt tribute("s rc"),f.wri te('\x3c!D OCTYPE htm l\x3e\x3ch tml\x3e\x3 chead\x3e\ x3cmeta ch arset\x3d" utf-8"\x3e \x3cscript  type\x3d" text/x-mat hjax-confi g"\x3eMath Jax.Hub.Co nfig( {sho wMathMenu:  false,mes sageStyle:  "none"} ) ;function  getCKE() { if ( typeo f window.p arent.CKED ITOR \x3d\ x3d \'obje ct\' ) {re turn windo w.parent.C KEDITOR;}  else {retu rn window. parent.par ent.CKEDIT OR;}}funct ion update () {MathJa x.Hub.Queu e([ \'Type set\', Mat hJax.Hub,  this.buffe r ],functi on() {getC KE().tools .callFunct ion( '+        
13   n+" );});} MathJax.Hu b.Queue( f unction()  {getCKE(). tools.call Function(" +p+');} ); \x3c/scrip t\x3e\x3cs cript src\ x3d"'+c.co nfig.mathJ axLib+'"\x 3e\x3c/scr ipt\x3e\x3 c/head\x3e \x3cbody s tyle\x3d"p adding:0;m argin:0;ba ckground:t ransparent ;overflow: hidden"\x3 e\x3cspan  id\x3d"pre view"\x3e\ x3c/span\x 3e\x3cspan  id\x3d"bu ffer" styl e\x3d"disp lay:none"\ x3e\x3c/sp an\x3e\x3c /body\x3e\ x3c/html\x 3e'))}func tion e(){m =!0;h=k;c. fire("lock Snapshot") ;d.setHtml (h);g.setH tml("\x3ci mg src\x3d "+CKEDITOR .plugins.m athjax.loa dingIcon+        
14   " alt\x3d" +c.lang.ma thjax.load ing+"\x3e" );b.setSty les({heigh t:"16px",w idth:"16px ",display: "inline"," vertical-a lign":"mid dle"});c.f ire("unloc kSnapshot" );f.getWin dow().$.up date(h)}va r d,g,h,k, f=b.getFra meDocument (),l=!1,m= !1,p=CKEDI TOR.tools. addFunctio n(function (){g=f.get ById("prev iew");d=f. getById("b uffer");l= !0;k&&e(); CKEDITOR.f ire("mathJ axLoaded", b)}),n=CKE DITOR.tool s.addFunct ion(functi on(){CKEDI TOR.plugin s.mathjax. copyStyles (b,g);g.se tHtml(d.ge tHtml());c .fire("loc kSnapshot" );b.setSty les({heigh t:0,        
15   width:0}); var a=Math .max(f.$.b ody.offset Height,f.$ .documentE lement.off setHeight) ,l=Math.ma x(g.$.offs etWidth,f. $.body.scr ollWidth); b.setStyle s({height: a+"px",wid th:l+"px"} );c.fire(" unlockSnap shot");CKE DITOR.fire ("mathJaxU pdateDone" ,b);h!=k?e ():m=!1}); b.on("load ",a);a();r eturn{setV alue:funct ion(a){k=C KEDITOR.to ols.htmlEn code(a);l& &!m&&e()}} }})();