1614. Araxis Merge File Comparison Report

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

1614.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 formdata.js Tue Dec 20 19:50:52 2016 UTC
2 Wed Feb 1 19:57:59 2017 UTC

1614.2 Comparison summary

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

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

1614.4 Active regular expressions

No regular expressions were active.

1614.5 Comparison detail

1   /*        
2   FormData        
3   Copyright  (c) 2010 F rançois de  Metz        
4          
5   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:        
6          
7   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.        
8          
9   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.        
10    */        
11   (function( w) {        
12       if (w. FormData)        
13           re turn;        
14       functi on FormDat a() {        
15           th is.fake =  true;        
16           th is.boundar y = "----- ---FormDat a" + Math. random();        
17           th is._fields  = [];        
18       }        
19       FormDa ta.prototy pe.append  = function (key, valu e) {        
20           th is._fields .push([key , value]);        
21       }        
22       FormDa ta.prototy pe.toStrin g = functi on() {        
23           va r boundary  = this.bo undary;        
24           va r body = " ";        
25           th is._fields .forEach(f unction(fi eld) {        
26                body +=  "--" + bou ndary + "\ r\n";        
27                // file  upload        
28                if (fiel d[1].name)  {        
29                    var  file = fie ld[1];        
30                    body  += "Conte nt-Disposi tion: form -data; nam e=\""+ fie ld[0] +"\" ; filename =\""+ file .name +"\" \r\n";        
31                    body  += "Conte nt-Type: " + file.typ e +"\r\n\r \n";        
32                    body  += file.g etAsBinary () + "\r\n ";        
33                } else {        
34                    body  += "Conte nt-Disposi tion: form -data; nam e=\""+ fie ld[0] +"\" ;\r\n\r\n" ;        
35                    body  += field[ 1] + "\r\n ";        
36                }        
37           }) ;        
38           bo dy += "--"  + boundar y +"--";        
39           re turn body;        
40       }        
41       w.Form Data = For mData;        
42   })(window) ;