Produced by Araxis Merge on 2/1/2017 2:58:00 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 | jquery.tmpl.min.js | Tue Dec 20 19:50:52 2016 UTC |
| 2 | Wed Feb 1 19:58:00 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 12 |
| 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 | /*jQuery T emplates P lugin 1.0. 0pre | |||||
| 2 | http://git hub.com/jq uery/jquer y-tmpl | |||||
| 3 | Requires j Query 1.4. 2 | |||||
| 4 | Copyright 2011, Soft ware Freed om Conserv ancy, Inc. | |||||
| 5 | ||||||
| 6 | Permission is hereby granted, free of ch arge, to a ny person obtaining a copy of this softw are and as sociated d ocumentati on files ( the "Softw are"), to deal in th e Software without r estriction , includin g without limitation the right s to use, copy, modi fy, merge, publish, distribute , sublicen se, and/or sell copi es of the Software, and to per mit person s to whom the Softwa re is furn ished to d o so, subj ect to the following condition s: | |||||
| 7 | ||||||
| 8 | The above copyright notice and this perm ission not ice shall be include d in all c opies or s ubstantial portions of the Sof tware. | |||||
| 9 | ||||||
| 10 | THE SOFTWA RE IS PROV IDED "AS I S", WITHOU T WARRANTY OF ANY KI ND, EXPRES S OR IMPLI ED, INCLUD ING BUT NO T LIMITED TO THE WAR RANTIES OF MERCHANTA BILITY, FI TNESS FOR A PARTICUL AR PURPOSE AND NONIN FRINGEMENT . IN NO EV ENT SHALL THE AUTHOR S OR COPYR IGHT HOLDE RS BE LIAB LE FOR ANY CLAIM, DA MAGES OR O THER LIABI LITY, WHET HER IN AN ACTION OF CONTRACT, TORT OR OT HERWISE, A RISING FRO M, OUT OF OR IN CONN ECTION WIT H THE SOFT WARE OR TH E USE OR O THER DEALI NGS IN THE SOFTWARE. | |||||
| 11 | */ | |||||
| 12 | (function( a){var r=a .fn.domMan ip,d="_tmp litem",q=/ ^[^<]*(<[\ w\W]+>)[^> ]*$|\{\{\! /,b={},f= {},e,p={ke y:0,data:{ }},h=0,c=0 ,l=[];func tion g(e,d ,g,i){var c={data:i| |(d?d.data :{}),_wrap :d?d._wrap :null,tmpl :null,pare nt:d||null ,nodes:[], calls:u,ne st:w,wrap: x,html:v,u pdate:t};e &&a.extend (c,e,{node s:[],paren t:d});if(g ){c.tmpl=g ;c._ctnt=c ._ctnt||c. tmpl(a,c); c.key=++h; (l.length? f:b)[h]=c} return c}a .each({app endTo:"app end",prepe ndTo:"prep end",inser tBefore:"b efore",ins ertAfter:" after",rep laceAll:"r eplaceWith "},functio n(f,d){a.f n[f]=funct ion(n){var g=[],i=a( n),k,h,m,l ,j=this.le ngth===1&& this[0].pa rentNode;e =b||{};if( j&&j.nodeT ype===11&& j.childNod es.length= ==1&&i.len gth===1){i [d](this[0 ]);g=this} else{for(h =0,m=i.len gth;h<m;h+ +){c=h;k=( h>0?this.c lone(true) :this).get ();a.fn[d] .apply(a(i [h]),k);g= g.concat(k )}c=0;g=th is.pushSta ck(g,f,i.s elector)}l =e;e=null; a.tmpl.com plete(l);r eturn g}}) ;a.fn.exte nd({tmpl:f unction(d, c,b){retur n a.tmpl(t his[0],d,c ,b)},tmplI tem:functi on(){retur n a.tmplIt em(this[0] )},templat e:function (b){return a.templat e(b,this[0 ])},domMan ip:functio n(d,l,j){i f(d[0]&&d[ 0].nodeTyp e){var f=a .makeArray (arguments ),g=d.leng th,i=0,h;w hile(i<g&& !(h=a.data (d[i++],"t mplItem")) );if(g>1)f [0]=[a.mak eArray(d)] ;if(h&&c)f [2]=functi on(b){a.tm pl.afterMa nip(this,b ,j)};r.app ly(this,f) }else r.ap ply(this,a rguments); c=0;!e&&a. tmpl.compl ete(b);ret urn this}} );a.extend ({tmpl:fun ction(d,h, e,c){var j ,k=!c;if(k ){c=p;d=a. template[d ]||a.templ ate(null,d );f={}}els e if(!d){d =c.tmpl;b[ c.key]=c;c .nodes=[]; c.wrapped& &n(c,c.wra pped);retu rn a(i(c,n ull,c.tmpl (a,c)))}if (!d)return [];if(type of h==="fu nction")h= h.call(c|| {});e&&e.w rapped&&n( e,e.wrappe d);j=a.isA rray(h)?a. map(h,func tion(a){re turn a?g(e ,c,d,a):nu ll}):[g(e, c,d,h)];re turn k?a(i (c,null,j) ):j},tmplI tem:functi on(b){var c;if(b ins tanceof a) b=b[0];whi le(b&&b.no deType===1 &&!(c=a.da ta(b,"tmpl Item"))&&( b=b.parent Node));ret urn c||p}, template:f unction(c, b){if(b){i f(typeof b ==="string ")b=o(b);e lse if(b i nstanceof a)b=b[0]|| {};if(b.no deType)b=a .data(b,"t mpl")||a.d ata(b,"tmp l",o(b.inn erHTML));r eturn type of c==="st ring"?(a.t emplate[c] =b):b}retu rn c?typeo f c!=="str ing"?a.tem plate(null ,c):a.temp late[c]||a .template( null,q.tes t(c)?c:a(c )):null},e ncode:func tion(a){re turn(""+a) .split("<" ).join("&l t;").split (">").join (">").s plit('"'). join("" ;").split( "'").join( "'")}} );a.extend (a.tmpl,{t ag:{tmpl:{ _default:{ $2:"null"} ,open:"if( $notnull_1 ){_=_.conc at($item.n est($1,$2) );}"},wrap :{_default :{$2:"null "},open:"$ item.calls (_,$1,$2); _=[];",clo se:"call=$ item.calls ();_=call. _.concat($ item.wrap( call,_));" },each:{_d efault:{$2 :"$index, $value"},o pen:"if($n otnull_1){ $.each($1a ,function( $2){with(t his){",clo se:"}});}" },"if":{op en:"if(($n otnull_1) && $1a){", close:"}"} ,"else":{_ default:{$ 1:"true"}, open:"}els e if(($not null_1) && $1a){"},h tml:{open: "if($notnu ll_1){_.pu sh($1a);}" },"=":{_de fault:{$1: "$data"},o pen:"if($n otnull_1){ _.push($.e ncode($1a) );}"},"!": {open:""}} ,complete: function() {b={}},aft erManip:fu nction(f,b ,d){var e= b.nodeType ===11?a.ma keArray(b. childNodes ):b.nodeTy pe===1?[b] :[];d.call (f,b);m(e) ;c++}});fu nction i(e ,g,f){var b,c=f?a.ma p(f,functi on(a){retu rn typeof a==="strin g"?e.key?a .replace(/ (<\w+)(?=[ \s>])(?![^ >]*_tmplit em)([^>]*) /g,"$1 "+d +'="'+e.ke y+'" $2'): a:i(a,e,a. _ctnt)}):e ;if(g)retu rn c;c=c.j oin("");c. replace(/^ \s*([^<\s] [^<]*)?(<[ \w\W]+>)([ ^>]*[^>\s] )?\s*$/,fu nction(f,c ,e,d){b=a( e).get();m (b);if(c)b =j(c).conc at(b);if(d )b=b.conca t(j(d))}); return b?b :j(c)}func tion j(c){ var b=docu ment.creat eElement(" div");b.in nerHTML=c; return a.m akeArray(b .childNode s)}functio n o(b){ret urn new Fu nction("jQ uery","$it em","var $ =jQuery,ca ll,_=[],$d ata=$item. data;with( $data){_.p ush('"+a.t rim(b).rep lace(/([\\ '])/g,"\\$ 1").replac e(/[\r\t\n ]/g," ").r eplace(/\$ \{([^\}]*) \}/g,"{{= $1}}").rep lace(/\{\{ (\/?)(\w+| .)(?:\(((? :[^\}]|\}( ?!\}))*?)? \))?(?:\s+ (.*?)?)?(\ (((?:[^\}] |\}(?!\})) *?)\))?\s* \}\}/g,fun ction(m,l, j,d,b,c,e) {var i=a.t mpl.tag[j] ,h,f,g;if( !i)throw"T emplate co mmand not found: "+j ;h=i._defa ult||[];if (c&&!/\w$/ .test(b)){ b+=c;c=""} if(b){b=k( b);e=e?"," +k(e)+")": c?")":"";f =c?b.index Of(".")>-1 ?b+c:"("+b +").call($ item"+e:b; g=c?f:"(ty peof("+b+" )==='funct ion'?("+b+ ").call($i tem):("+b+ "))"}else g=f=h.$1|| "null";d=k (d);return "');"+i[l? "close":"o pen"].spli t("$notnul l_1").join (b?"typeof ("+b+")!== 'undefined ' && ("+b+ ")!=null": "true").sp lit("$1a") .join(g).s plit("$1") .join(f).s plit("$2") .join(d?d. replace(/\ s*([^\(]+) \s*(\((.*? )\))?/g,fu nction(d,c ,b,a){a=a? ","+a+")": b?")":"";r eturn a?"( "+c+").cal l($item"+a :d}):h.$2| |"")+"_.pu sh('"})+"' );}return _;")}funct ion n(c,b) {c._wrap=i (c,true,a. isArray(b) ?b:[q.test (b)?b:a(b) .html()]). join("")}f unction k( a){return a?a.replac e(/\\'/g," '").replac e(/\\\\/g, "\\"):null }function s(b){var a =document. createElem ent("div") ;a.appendC hild(b.clo neNode(tru e));return a.innerHT ML}functio n m(o){var n="_"+c,k ,j,l={},e, p,i;for(e= 0,p=o.leng th;e<p;e++ ){if((k=o[ e]).nodeTy pe!==1)con tinue;j=k. getElement sByTagName ("*");for( i=j.length -1;i>=0;i- -)m(j[i]); m(k)}funct ion m(j){v ar p,i=j,k ,e,m;if(m= j.getAttri bute(d)){w hile(i.par entNode&&( i=i.parent Node).node Type===1&& !(p=i.getA ttribute(d )));if(p!= =m){i=i.pa rentNode?i .nodeType= ==11?0:i.g etAttribut e(d)||0:0; if(!(e=b[m ])){e=f[m] ;e=g(e,b[i ]||f[i],nu ll,true);e .key=++h;b [h]=e}c&&o (m)}j.remo veAttribut e(d)}else if(c&&(e=a .data(j,"t mplItem")) ){o(e.key) ;b[e.key]= e;i=a.data (j.parentN ode,"tmplI tem");i=i? i.key:0}if (e){k=e;wh ile(k&&k.k ey!=i){k.n odes.push( j);k=k.par ent}delete e._ctnt;d elete e._w rap;a.data (j,"tmplIt em",e)}fun ction o(a) {a=a+n;e=l [a]=l[a]|| g(e,b[e.pa rent.key+n ]||e.paren t,null,tru e)}}}funct ion u(a,d, c,b){if(!a )return l. pop();l.pu sh({_:a,tm pl:d,item: this,data: c,options: b})}functi on w(d,c,b ){return a .tmpl(a.te mplate(d), c,b,this)} function x (b,d){var c=b.option s||{};c.wr apped=d;re turn a.tmp l(a.templa te(b.tmpl) ,b.data,c, b.item)}fu nction v(d ,c){var b= this._wrap ;return a. map(a(a.is Array(b)?b .join(""): b).filter( d||"*"),fu nction(a){ return c?a .innerText ||a.textCo ntent:a.ou terHTML||s (a)})}func tion t(){v ar b=this. nodes;a.tm pl(null,nu ll,null,th is).insert Before(b[0 ]);a(b).re move()}})( jQuery) |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.