mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Remove '??' operator (fix #1576)
This commit is contained in:
parent
b00b902b27
commit
880f3f3e78
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -68,7 +68,7 @@
|
|||||||
"danmaku-send-bar.min.css": "186013DAAC3E9E8C0B408CFA3D5C3F5BF702F25D435A386B384ECF3B5FBBBE18",
|
"danmaku-send-bar.min.css": "186013DAAC3E9E8C0B408CFA3D5C3F5BF702F25D435A386B384ECF3B5FBBBE18",
|
||||||
"danmaku-send-bar.min.js": "EACF3DFFD0CA5D3096B70DED1BEA81DBF35F3E0F831DDACFC9D3F2F4A50237F1",
|
"danmaku-send-bar.min.js": "EACF3DFFD0CA5D3096B70DED1BEA81DBF35F3E0F831DDACFC9D3F2F4A50237F1",
|
||||||
"dark.min.css": "1CE3307FD898C79D389C4619734484088C791350280B9E035C03FBF75472D270",
|
"dark.min.css": "1CE3307FD898C79D389C4619734484088C791350280B9E035C03FBF75472D270",
|
||||||
"dark.user.css": "9AA1A7715E8E29CCEA9825661FE6BE47BF1977455B8CAD8A72F2D80E75F120C3",
|
"dark.user.css": "595FF68F3C3C9957D68256738697B48E84A118B6FA63FC553C5521DEFE3E8870",
|
||||||
"dark-color-scheme.min.js": "C83A38770DCEC5842E49617B07FFF97BCD6691982AFE40788ADC6A449C6474CB",
|
"dark-color-scheme.min.js": "C83A38770DCEC5842E49617B07FFF97BCD6691982AFE40788ADC6A449C6474CB",
|
||||||
"dark-important.min.css": "5902E037E040A6C364391FE27885A118A8FD8B30A4B5E8C737C5FE5CFFB67F42",
|
"dark-important.min.css": "5902E037E040A6C364391FE27885A118A8FD8B30A4B5E8C737C5FE5CFFB67F42",
|
||||||
"dark-navbar.min.css": "7FAD547E326B768904B3739C978DF86FFDDD5E5064FB8F490710D197CCC3018B",
|
"dark-navbar.min.css": "7FAD547E326B768904B3739C978DF86FFDDD5E5064FB8F490710D197CCC3018B",
|
||||||
|
|||||||
BIN
min/bundle.zip
BIN
min/bundle.zip
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
@namespace Bilibili-Evolved
|
@namespace Bilibili-Evolved
|
||||||
@homepageURL https://github.com/the1812/Bilibili-Evolved
|
@homepageURL https://github.com/the1812/Bilibili-Evolved
|
||||||
@updateURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/min/dark.user.css
|
@updateURL https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/min/dark.user.css
|
||||||
@version 947.30.0
|
@version 948.16.0
|
||||||
@license MIT
|
@license MIT
|
||||||
@author Grant Howard (https://github.com/the1812), Coulomb-G (https://github.com/Coulomb-G)
|
@author Grant Howard (https://github.com/the1812), Coulomb-G (https://github.com/Coulomb-G)
|
||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
|
|||||||
@ -234,9 +234,9 @@ export const isTyping = () => {
|
|||||||
return ['input', 'textarea'].includes(activeElement.nodeName.toLowerCase())
|
return ['input', 'textarea'].includes(activeElement.nodeName.toLowerCase())
|
||||||
}
|
}
|
||||||
export const getAid = (aid) => {
|
export const getAid = (aid) => {
|
||||||
aid = aid ?? unsafeWindow.aid
|
aid = aid || unsafeWindow.aid
|
||||||
if (!aid) {
|
if (!aid) {
|
||||||
throw "aid is unknown"
|
throw new Error('aid is unknown')
|
||||||
}
|
}
|
||||||
return aid
|
return aid
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user