762. Araxis Merge File Comparison Report

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

762.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\trunk\SDK\SampleCode\JS\WebResources ShowDataParams.htm Tue Dec 20 19:51:48 2016 UTC
2 Wed Feb 1 19:57:02 2017 UTC

762.2 Comparison summary

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

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

762.4 Active regular expressions

No regular expressions were active.

762.5 Comparison detail

1   <!DOCTYPE  html >        
2   <html lang ="en-us">        
3   <head>        
4    <title>Sh ow Data Pa rameters P age</title >        
5    <style ty pe="text/c ss">        
6     body        
7     {        
8      font-fa mily: Sego e UI, Taho ma, Arial;        
9      backgro und-color:  #d6e8ff;        
10     }        
11     tbody        
12     {        
13      backgro und-color:  white;        
14     }        
15     th        
16     {        
17      backgro und-color:  black;        
18      color:  White;        
19     }        
20    </style>        
21    <script t ype="text/ javascript ">        
22     document .onreadyst atechange  = function  () {        
23      if (doc ument.read yState ==  "complete" ) {        
24       getDat aParam();        
25      }        
26     }        
27          
28     function  getDataPa ram() {        
29      //Get t he any que ry string  parameters  and load  them        
30      //into  the vals a rray        
31          
32      var val s = new Ar ray();        
33      if (loc ation.sear ch != "")  {        
34       vals =  location. search.sub str(1).spl it("&");        
35       for (v ar i in va ls) {        
36        vals[ i] = vals[ i].replace (/\+/g, "  ").split(" =");        
37       }        
38       //look  for the p arameter n amed 'data '        
39       var fo und = fals e;        
40       for (v ar i in va ls) {        
41        if (v als[i][0]. toLowerCas e() == "da ta") {        
42         pars eDataValue (vals[i][1 ]);        
43         foun d = true;        
44         brea k;        
45        }        
46       }        
47       if (!f ound)        
48       { noPa rams(); }        
49      }        
50      else {        
51       noPara ms();        
52      }        
53     }        
54          
55     function  parseData Value(data value) {        
56      if (dat avalue !=  "") {        
57       var va ls = new A rray();        
58          
59       var me ssage = do cument.cre ateElement ("p");        
60       setTex t(message,  "These ar e the data  parameter s values t hat were p assed to t his page:" );        
61       docume nt.body.ap pendChild( message);        
62          
63       vals =  decodeURI Component( datavalue) .split("&" );        
64       for (v ar i in va ls) {        
65        vals[ i] = vals[ i].replace (/\+/g, "  ").split(" =");        
66       }        
67          
68       //Crea te a table  and heade r using th e DOM        
69       var oT able = doc ument.crea teElement( "table");        
70       var oT Head = doc ument.crea teElement( "thead");        
71       var oT HeadTR = d ocument.cr eateElemen t("tr");        
72       var oT HeadTRTH1  = document .createEle ment("th") ;        
73       setTex t(oTHeadTR TH1, "Para meter");        
74       var oT HeadTRTH2  = document .createEle ment("th") ;        
75       setTex t(oTHeadTR TH2, "Valu e");        
76       oTHead TR.appendC hild(oTHea dTRTH1);        
77       oTHead TR.appendC hild(oTHea dTRTH2);        
78       oTHead .appendChi ld(oTHeadT R);        
79       oTable .appendChi ld(oTHead) ;        
80       var oT Body = doc ument.crea teElement( "tbody");        
81       //Loop  through v als and cr eate rows  for the ta ble        
82       for (v ar i in va ls) {        
83        var o TRow = doc ument.crea teElement( "tr");        
84        var o TRowTD1 =  document.c reateEleme nt("td");        
85        setTe xt(oTRowTD 1, vals[i] [0]);        
86        var o TRowTD2 =  document.c reateEleme nt("td");        
87        setTe xt(oTRowTD 2, vals[i] [1]);        
88          
89        oTRow .appendChi ld(oTRowTD 1);        
90        oTRow .appendChi ld(oTRowTD 2);        
91        oTBod y.appendCh ild(oTRow) ;        
92       }        
93          
94       oTable .appendChi ld(oTBody) ;        
95       docume nt.body.ap pendChild( oTable);        
96      }        
97      else {        
98       noPara ms();        
99      }        
100     }        
101          
102     function  noParams( ) {        
103      var mes sage = doc ument.crea teElement( "p");        
104      setText (message,  "No data p arameter w as passed  to this pa ge");        
105          
106          
107      documen t.body.app endChild(m essage);        
108     }        
109     //Added  for cross  browser su pport.        
110     function  setText(e lement, te xt) {        
111      if (typ eof elemen t.innerTex t != "unde fined") {        
112       elemen t.innerTex t = text;        
113      }        
114      else {        
115       elemen t.textCont ent = text ;        
116      }        
117          
118     }        
119    </script>        
120   </head>        
121   <body>        
122   </body>        
123   </html>