fork
Brian White 11 years ago
parent 9a961cc35c
commit 32445a188b

@ -33,8 +33,7 @@ var MAX_INT = 9007199254740992,
RE_BACKSLASH = /\\/g, RE_BACKSLASH = /\\/g,
RE_DBLQUOTE = /"/g, RE_DBLQUOTE = /"/g,
RE_ESCAPE = /\\\\/g, RE_ESCAPE = /\\\\/g,
RE_INTEGER = /^\d+$/, RE_INTEGER = /^\d+$/;
RE_PUSH_TEXT_CODES = /^APPENDUID|COPYUID$/i;
function Connection(config) { function Connection(config) {
if (!(this instanceof Connection)) if (!(this instanceof Connection))

@ -337,7 +337,7 @@ function parseId(text, literals) {
if (r[0] === null) if (r[0] === null)
return null; return null;
for (var i = 0, len = r[0].length; i < len; i += 2) for (var i = 0, len = r[0].length; i < len; i += 2)
id[r[0][i].toLowerCase()] = r[0][i + 1] id[r[0][i].toLowerCase()] = r[0][i + 1];
return id; return id;
} }
@ -795,7 +795,7 @@ function decodeWords(str, state) {
var pendoffset = -1; var pendoffset = -1;
state.replaces = []; state.replaces = [];
var bytes, m, i, len, j, lenj, seq; var bytes, m, i, j, lenj, seq;
// generate replacement substrings and their positions // generate replacement substrings and their positions
while (m = RE_ENCWORD.exec(str)) { while (m = RE_ENCWORD.exec(str)) {
state.consecutive = (pendoffset > -1 state.consecutive = (pendoffset > -1

Loading…
Cancel
Save