Skip to content

Commit b78a995

Browse files
committed
Issue #6
1 parent 9a81e1a commit b78a995

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

p/performance-vs-ol3/bundle.js

Lines changed: 4 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.stringifu(jsonixResult, null, 2));
32+
console.log(JSON.stringify(jsonixResult, null, 2));
3333
console.time('ol3');
3434
var ol3Result = format.read(xhr.responseXML);
35-
console.log(JSON.stringifu(ol3Result, null, 2));
35+
console.log(JSON.stringify(ol3Result, null, 2));
3636
console.timeEnd('ol3');
3737
}
3838
} else {
@@ -1702,6 +1702,7 @@ Jsonix.XML.Input = Jsonix.Class({
17021702
}
17031703
},
17041704
pushNS : function (node) {
1705+
return;
17051706
var pindex = this.pns.length - 1;
17061707
var parentPnsItem = this.pns[pindex];
17071708
var pnsItem = Jsonix.Util.Type.isObject(parentPnsItem) ? pindex : parentPnsItem;
@@ -1750,6 +1751,7 @@ Jsonix.XML.Input = Jsonix.Class({
17501751
}
17511752
},
17521753
popNS : function () {
1754+
return;
17531755
this.pns.pop();
17541756
},
17551757
getNamespaceURI : function (p) {

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.stringifu(jsonixResult, null, 2));
31+
console.log(JSON.stringify(jsonixResult, null, 2));
3232
console.time('ol3');
3333
var ol3Result = format.read(xhr.responseXML);
34-
console.log(JSON.stringifu(ol3Result, null, 2));
34+
console.log(JSON.stringify(ol3Result, null, 2));
3535
console.timeEnd('ol3');
3636
}
3737
} else {

0 commit comments

Comments
 (0)