fix minor issue in deserializer
This commit is contained in:
parent
32470dbab4
commit
badee1ffe1
|
@ -138,7 +138,7 @@ ATNDeserializer.prototype.deserialize = function(data) {
|
||||||
ATNDeserializer.prototype.reset = function(data) {
|
ATNDeserializer.prototype.reset = function(data) {
|
||||||
var adjust = function(c) {
|
var adjust = function(c) {
|
||||||
var v = c.charCodeAt(0);
|
var v = c.charCodeAt(0);
|
||||||
return v>1 ? v-2 : v + 65533;
|
return v>1 ? v-2 : v + 65534;
|
||||||
};
|
};
|
||||||
var temp = data.split("").map(adjust);
|
var temp = data.split("").map(adjust);
|
||||||
// don't adjust the first value since that's the version number
|
// don't adjust the first value since that's the version number
|
||||||
|
|
Loading…
Reference in New Issue