|
|
|
@ -33,7 +33,8 @@ var MAX_INT = 9007199254740992,
|
|
|
|
|
RE_BACKSLASH = /\\/g,
|
|
|
|
|
RE_DBLQUOTE = /"/g,
|
|
|
|
|
RE_ESCAPE = /\\\\/g,
|
|
|
|
|
RE_INTEGER = /^\d+$/;
|
|
|
|
|
RE_INTEGER = /^\d+$/,
|
|
|
|
|
RE_PUSH_TEXT_CODES = /^APPENDUID|COPYUID$/i;
|
|
|
|
|
|
|
|
|
|
function Connection(config) {
|
|
|
|
|
if (!(this instanceof Connection))
|
|
|
|
@ -1390,7 +1391,10 @@ Connection.prototype._resTagged = function(info) {
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
req.cbargs.unshift(err);
|
|
|
|
|
req.cbargs.push(info.textCode);
|
|
|
|
|
if (info.textCode
|
|
|
|
|
&& info.textCode.key
|
|
|
|
|
&& RE_PUSH_TEXT_CODES.test(info.textCode.key))
|
|
|
|
|
req.cbargs.push(info.textCode);
|
|
|
|
|
req.cb && req.cb.apply(this, req.cbargs);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|