File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 8585 if ( progressor . length ) progressor . text ( progress ) ;
8686
8787 o . onProgress . call ( this , object ) ;
88- }
89-
90-
88+ } ;
9189 // xhr.addEventListener("load", function () {}, false);
9290 xhr . onload = function ( ) {
9391 //update progress bar to 100% in firefox
10098 // check if response is json object or text
10199 response = sortResponse ( xhr . responseText ) ;
102100 o . onComplete . call ( this , object , response ) ;
103- }
101+ } ;
104102
105103 // xhr.responseType
106104 // xhr.response contain the value fetched from server
212210 try { $ . parseJSON ( response ) ; } catch ( e ) { isJSON = false ; }
213211
214212 // response = JSON.parse(xhr.responseText);
215- if ( isJSON == true ) { sorted = $ . parseJSON ( response ) ; }
213+ if ( isJSON === true ) { sorted = $ . parseJSON ( response ) ; }
216214 else { sorted = response ; }
217215
218216 return sorted ;
265263
266264
267265 } ) ;
268- }
266+ } ;
269267} ) ( jQuery ) ;
You can’t perform that action at this time.
0 commit comments