修改了一些似乎没啥用的东西

This commit is contained in:
shenjack 2024-04-04 13:11:24 +08:00
parent 3a7a597c73
commit faf0c8b0ca
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -25,8 +25,9 @@ let logger = {
debug: function (...msg) { debug: function (...msg) {
if (run_env.from_code) { if (run_env.from_code) {
// 上个色 // 上个色
let last_stack = new Error().stack.split("\n")[2].trim(); // let last_stack = new Error().stack;
console.log("\x1b[32mlogger<", last_stack, ">:", ...msg, "\x1b[0m") // console.log("\x1b[32mlogger<", last_stack, ">:", ...msg, "\x1b[0m")
console.log("\x1b[32mlogger:", ...msg, "\x1b[0m")
} }
}, },
info: function (...msg) { info: function (...msg) {
@ -2054,6 +2055,7 @@ var A = {
} else { } else {
s = true s = true
} }
logger.debug("进入 H.uk")
if (s) { if (s) {
r = H.ue r = H.ue
} else { } else {
@ -2063,20 +2065,22 @@ var A = {
r = H.ui r = H.ui
} }
} }
logger.debug("进入 H.uk")
this_.a = r this_.a = r
// logger.debug("进入 H.uk", r, r(a))
return this_.a(a) return this_.a(a)
}, },
ln(a) { ln(a) {
var s, r = a.y var t1, r = a.y
if (!H.isStrongTopType(a)) if (!H.isStrongTopType(a))
if (!(a === t.c)) if (!(a === t.c))
if (!(a === t.aw)) if (!(a === t.aw))
if (r !== 7) s = r === 8 && H.ln(a.z) || a === t.P || a === t.T if (r !== 7) t1 = r === 8 && H.ln(a.z) || a === t.P || a === t.T
else s = true else t1 = true
else s = true else t1 = true
else s = true else t1 = true
else s = true else t1 = true
return s return t1
}, },
uh(a) { uh(a) {
var s = this var s = this
@ -2114,6 +2118,7 @@ var A = {
if (a == null) return a if (a == null) return a
// set run time info // set run time info
else if (s.b(a)) return a else if (s.b(a)) return a
logger.debug("faild nullable as check", a)
H.oo(a, s) H.oo(a, s)
}, },
oo(a, b) { oo(a, b) {
@ -8026,7 +8031,8 @@ var A = {
let plist = s.querySelector(".plist") let plist = s.querySelector(".plist")
let pbody = s.querySelector(".pbody") let pbody = s.querySelector(".pbody")
logger.debug("r.a", r.a, plist) logger.debug("r.a", r.a, plist)
s = new HtmlRenderer.fq(r.a(plist), r.a(pbody), a, $.ro().ax(256)) // s = new HtmlRenderer.fq(r.a(plist), r.a(pbody), a, $.ro().ax(256))
s = new HtmlRenderer.fq(plist, pbody, a, $.ro().ax(256))
logger.debug("HtmlRenderer.jt") logger.debug("HtmlRenderer.jt")
s.e0(a) s.e0(a)
return s return s