File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ xhr.onload = function (e) {
29
29
console.time('JSONIX');
30
30
var jsonixResult = unmarshaller.unmarshalDocument(xhr.responseXML);
31
31
console.timeEnd('JSONIX');
32
- console.log(JSON.stringify(jsonixResult));
32
+ console.log(JSON.stringify(jsonixResult, null, 2 ));
33
33
console.time('ol3');
34
34
var ol3Result = format.read(xhr.responseXML);
35
- console.log(JSON.stringify(ol3Result));
35
+ console.log(JSON.stringify(ol3Result, null, 2 ));
36
36
console.timeEnd('ol3');
37
37
}
38
38
} else {
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ xhr.onload = function (e) {
28
28
console . time ( 'JSONIX' ) ;
29
29
var jsonixResult = unmarshaller . unmarshalDocument ( xhr . responseXML ) ;
30
30
console . timeEnd ( 'JSONIX' ) ;
31
- console . log ( JSON . stringify ( jsonixResult ) ) ;
31
+ console . log ( JSON . stringify ( jsonixResult , null , 2 ) ) ;
32
32
console . time ( 'ol3' ) ;
33
33
var ol3Result = format . read ( xhr . responseXML ) ;
34
- console . log ( JSON . stringify ( ol3Result ) ) ;
34
+ console . log ( JSON . stringify ( ol3Result , null , 2 ) ) ;
35
35
console . timeEnd ( 'ol3' ) ;
36
36
}
37
37
} else {
You can’t perform that action at this time.
0 commit comments