Skip to content

Commit 0bbcabb

Browse files
committed
Issue #6
1 parent 02c0532 commit 0bbcabb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

p/performance-vs-ol3/bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ xhr.onload = function (e) {
2929
console.time('JSONIX');
3030
var jsonixResult = unmarshaller.unmarshalDocument(xhr.responseXML);
3131
console.timeEnd('JSONIX');
32-
console.log(JSON.stringify(jsonixResult));
32+
console.log(JSON.stringify(jsonixResult, null, 2));
3333
console.time('ol3');
3434
var ol3Result = format.read(xhr.responseXML);
35-
console.log(JSON.stringify(ol3Result));
35+
console.log(JSON.stringify(ol3Result, null, 2));
3636
console.timeEnd('ol3');
3737
}
3838
} else {

p/performance-vs-ol3/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ xhr.onload = function (e) {
2828
console.time('JSONIX');
2929
var jsonixResult = unmarshaller.unmarshalDocument(xhr.responseXML);
3030
console.timeEnd('JSONIX');
31-
console.log(JSON.stringify(jsonixResult));
31+
console.log(JSON.stringify(jsonixResult, null, 2));
3232
console.time('ol3');
3333
var ol3Result = format.read(xhr.responseXML);
34-
console.log(JSON.stringify(ol3Result));
34+
console.log(JSON.stringify(ol3Result, null, 2));
3535
console.timeEnd('ol3');
3636
}
3737
} else {

0 commit comments

Comments
 (0)