1241. Araxis Merge File Comparison Report

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

1241.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\embedbase plugin.js Tue Dec 20 19:50:46 2016 UTC
2 Wed Feb 1 19:57:49 2017 UTC

1241.2 Comparison summary

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

1241.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

1241.4 Active regular expressions

No regular expressions were active.

1241.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("embedb ase",{lang :"cs,da,de ,en,eo,fr, gl,it,ko,k u,nb,nl,pl ,pt-br,ru, sv,tr,zh,z h-cn",requ ires:"widg et,notific ationaggre gator",onL oad:functi on(){CKEDI TOR._.json pCallbacks ={}},init: function() {CKEDITOR. dialog.add ("embedBas e",this.pa th+"dialog s/embedbas e.js")}}); var l={_at tachScript :function( e,c){var d =new CKEDI TOR.dom.el ement("scr ipt");d.se tAttribute ("src",e); d.on("erro r",c);CKED ITOR.docum ent.getBod y().append (d);return  d},sendRe quest:func tion(e,c,d ,a){functi on b(){g&& (g.remove( ),        
6   delete CKE DITOR._.js onpCallbac ks[h],g=nu ll)}var k= {};c=c||{} ;var h=CKE DITOR.tool s.getNextN umber(),g; c.callback ="CKEDITOR ._.jsonpCa llbacks["+ h+"]";CKED ITOR._.jso npCallback s[h]=funct ion(a){set Timeout(fu nction(){b ();d(a)})} ;g=this._a ttachScrip t(e.output (c),functi on(){b();a &&a()});k. cancel=b;r eturn k}}; CKEDITOR.p lugins.emb edBase={cr eateWidget BaseDefini tion:funct ion(e){var  c,d=e.lan g.embedbas e;return{m ask:!0,tem plate:"\x3 cdiv\x3e\x 3c/div\x3e ",pathName :d.pathNam e,_cache:{ },urlRegEx p:/^((http s?:)?\/\/| www\.)/i,        
7   init:funct ion(){this .on("sendR equest",fu nction(a){ this._send Request(a. data)},thi s,null,999 );this.on( "dialog",f unction(a) {a.data.wi dget=this} ,this);thi s.on("hand leResponse ",function (a){if(!a. data.html) {var b=thi s._respons eToHtml(a. data.url,a .data.resp onse);null !==b?a.dat a.html=b:( a.data.err orMessage= "unsupport edUrl",a.c ancel())}} ,this,null ,999)},loa dContent:f unction(a, b){functio n c(e){f.r esponse=e; d.editor.w idgets.ins tances[d.i d]?d._hand leResponse (f)&&(d._c acheRespon se(a,e),b. callback&& b.callback ()):        
8   f.task&&f. task.done( )}b=b||{}; var d=this ,e=this._g etCachedRe sponse(a), f={noNotif ications:b .noNotific ations,url :a,callbac k:c,errorC allback:fu nction(a){ d._handleE rror(f,a); b.errorCal lback&&b.e rrorCallba ck(a)}};if (e)setTime out(functi on(){c(e)} );else ret urn b.noNo tification s||(f.task =this._cre ateTask()) ,this.fire ("sendRequ est",f),f} ,isUrlVali d:function (a){return  this.urlR egExp.test (a)&&!1!== this.fire( "validateU rl",a)},ge tErrorMess age:functi on(a,b,c){ (c=e.lang. embedbase[ a+(c||"")] )||(c=a);r eturn(new  CKEDITOR.t emplate(c) ).output({ url:b||        
9   ""})},_sen dRequest:f unction(a) {var b=thi s,c=l.send Request(th is.provide rUrl,{url: encodeURIC omponent(a .url)},a.c allback,fu nction(){a .errorCall back("fetc hingFailed ")});a.can cel=functi on(){c.can cel();b.fi re("reques tCanceled" ,a)}},_han dleRespons e:function (a){var b= {url:a.url ,html:"",r esponse:a. response}; if(!1!==th is.fire("h andleRespo nse",b))re turn a.tas k&&a.task. done(),thi s._setCont ent(a.url, b.html),!0 ;a.errorCa llback(b.e rrorMessag e);return! 1},_handle Error:func tion(a,b){ a.task&&(a .task.canc el(),a.noN otificatio ns||        
10   e.showNoti fication(t his.getErr orMessage( b,a.url)," warning")) },_respons eToHtml:fu nction(a,b ){return"p hoto"==b.t ype?'\x3ci mg src\x3d "'+CKEDITO R.tools.ht mlEncodeAt tr(b.url)+ '" alt\x3d "'+CKEDITO R.tools.ht mlEncodeAt tr(b.title ||"")+'" s tyle\x3d"m ax-width:1 00%;height :auto" /\x 3e':"video "==b.type| |"rich"==b .type?b.ht ml:null},_ setContent :function( a,b){this. setData("u rl",a);thi s.element. setHtml(b) },_createT ask:functi on(){if(!c ||c.isFini shed())c=n ew CKEDITO R.plugins. notificati onAggregat or(e,d.fet chingMany, d.fetching One),        
11   c.on("fini shed",func tion(){c.n otificatio n.hide()}) ;return c. createTask ()},_cache Response:f unction(a, b){this._c ache[a]=b} ,_getCache dResponse: function(a ){return t his._cache [a]}}},_js onp:l}})() ;