Commit 071c701a authored by wang's avatar wang

环境兼容

parent e41725e5
No preview for this file type
......@@ -114,7 +114,7 @@ for i in range(100):
proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
proxy = 'http://127.0.0.1:7890'
# proxy = 'http://127.0.0.1:7890'
session.proxies = {
'http': proxy,
'https': proxy,
......
......@@ -90,8 +90,8 @@ print = console.log
dtavm.log = console.log
let con3 = console.log
let con4 = console.log
con3 = function (){}
con4 = function (){}
// con3 = function (){}
// con4 = function (){}
......@@ -6141,7 +6141,7 @@ _join = Array.prototype.join;
Array.prototype.join = function (s){
console.log('join', this, s)
if (this[0] === '{"foo\\u0000bar":42}'){
return `{"foo\\u0000bar":42}INVALID:SyntaxError: Expected ',' or ']' after array element in JSON at position 3INVALID:SyntaxError: Unexpected token '�', "��[\x00\x00�\x00\x00]\x00" is not valid JSONINVALID:SyntaxError: Unexpected token '�', "�{}" is not valid JSON`
return `{"foo\\u0000bar":42}INVALID:SyntaxError: Expected ',' or ']' after array element in JSON at position 3INVALID:SyntaxError: Unexpected token '�', "�{}" is not valid JSONINVALID:SyntaxError: Unexpected token '�', "��[\x00\x00�\x00\x00]\x00" is not valid JSON`
}
return _join.call(this, s)
}
......@@ -6158,5 +6158,3 @@ Object.getOwnPropertyNames = function (a){
}
let aa = false;
......@@ -921,11 +921,15 @@
});
w(Tu, "Y", {
value: function (Tj) {
return this.N[Tj].v
let res = this.N[Tj].v;
con3('get1', Tj, '=>>', res)
return res;
}
});
w(Tu, "m", {
value: function (TG, TK) {
con3('set1', TG, '=>>', TK)
this.N[TG].v = TK
}
});
......@@ -1533,6 +1537,7 @@
It.R.length -= 2
}, function (IX) {
"use strict";
con3(IX.R[IX.R.length - 3],'set', IX.R[IX.R.length - 2], '==>', IX.R[IX.R.length - 1])
IX.R[IX.R.length - 3][IX.R[IX.R.length - 2]] = IX.R[IX.R.length - 1];
IX.R.length -= 3
}, function (Il) {
......@@ -2105,12 +2110,12 @@
if (jR.R[jR.R.length - 1] === 0 && typeof res === 'boolean'
// && jR.R[jR.R.length - 2].length === 3
){
console.log(jR.R[jR.R.length - 2])
// console.log(jR.R[jR.R.length - 2])
// console.log(jR.R[jR.R.length - 2].join(''));
// debugger;
}
if ( jR.R[jR.R.length - 1] === 'join'){
console.log(jR.R[jR.R.length - 2]);
// console.log(jR.R[jR.R.length - 2]);
// debugger;
}
......@@ -3139,7 +3144,8 @@
XD.H.m(Xk, XE);
var XV = XD.H.Y(Xr);
XD.R[XD.R.length - 1] = U(XV)
}];
}
];
function dO(Xm, Xz, lL, lT) {
"use strict";
......@@ -3197,6 +3203,7 @@
return li
}
lN = ls.v();
// console.log([].slice.call(ls.R))
if (ls.w.length === 0) {
TH[lN](ls)
} else {
......
......@@ -7082,11 +7082,15 @@ let aa = false;
});
w(Tu, "Y", {
value: function (Tj) {
return this.N[Tj].v
let res = this.N[Tj].v;
con3('get1', Tj, '=>>', res)
return res;
}
});
w(Tu, "m", {
value: function (TG, TK) {
con3('set1', TG, '=>>', TK)
this.N[TG].v = TK
}
});
......@@ -8267,12 +8271,12 @@ let aa = false;
if (jR.R[jR.R.length - 1] === 0 && typeof res === 'boolean'
// && jR.R[jR.R.length - 2].length === 3
){
console.log(jR.R[jR.R.length - 2])
// console.log(jR.R[jR.R.length - 2])
// console.log(jR.R[jR.R.length - 2].join(''));
// debugger;
}
if ( jR.R[jR.R.length - 1] === 'join'){
console.log(jR.R[jR.R.length - 2]);
// console.log(jR.R[jR.R.length - 2]);
// debugger;
}
......@@ -9301,7 +9305,8 @@ let aa = false;
XD.H.m(Xk, XE);
var XV = XD.H.Y(Xr);
XD.R[XD.R.length - 1] = U(XV)
}];
}
];
function dO(Xm, Xz, lL, lT) {
"use strict";
......@@ -9359,6 +9364,7 @@ let aa = false;
return li
}
lN = ls.v();
// console.log([].slice.call(ls.R))
if (ls.w.length === 0) {
TH[lN](ls)
} else {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment